Graal Forums  

Go Back   Graal Forums > Development Forums > Tech Support
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 12-07-2004, 01:04 AM
Andares Andares is offline
Scr1pt3r-ish
Andares's Avatar
Join Date: Mar 2004
Posts: 55
Andares is on a distinguished road
Send a message via AIM to Andares
Script Styler

Since I have a habit of writing messy code, I've started using the script styler. (/style <weapon/class/npc> <name> for those who don't know )

Anyway, it has a few bugs.
#1: It places ; in the middle of a blank line.
#2: Math functions misinterpret (e.g. if(strequals(#c,/warpto)) is styled into if(strequals(#c, / warpto)), and do-move() is turned into do - move()).
#3: It blows up long, complex commands.

Please fix this, Stefan!
__________________
Quote:
<Wan> Can I have a poll? Do people mind if I talk about sexual intercourse between two human beings?
<Kai> Wan, I think the problem is that it's basically ALL you talk about
<Wan> Ahhhhhh
Aim: AtariTandy | Job: Sanstrata)
Reply With Quote
  #2  
Old 12-07-2004, 11:45 PM
Slash-P2P Slash-P2P is offline
Banned
Join Date: May 2004
Location: Burning Blade
Posts: 941
Slash-P2P is on a distinguished road
There is a server option, scriptstyle, for changing the way the /style command styles your scripts. Try playing around with that.

Read this
Reply With Quote
  #3  
Old 12-08-2004, 02:58 AM
zokemon zokemon is offline
That one guy...
zokemon's Avatar
Join Date: Mar 2001
Location: Sonoma County, California
Posts: 2,925
zokemon is a jewel in the roughzokemon is a jewel in the rough
Send a message via ICQ to zokemon Send a message via AIM to zokemon Send a message via MSN to zokemon Send a message via Yahoo to zokemon
And Slash saves the day.
__________________
Do it with a DON!
Reply With Quote
  #4  
Old 12-08-2004, 03:08 AM
Slash-P2P Slash-P2P is offline
Banned
Join Date: May 2004
Location: Burning Blade
Posts: 941
Slash-P2P is on a distinguished road
Shouldn't someone move this to the fixed bugs board?
Reply With Quote
  #5  
Old 12-08-2004, 03:47 AM
Kaimetsu Kaimetsu is offline
Script Monkey
Kaimetsu's Avatar
Join Date: May 2001
Posts: 18,222
Kaimetsu will become famous soon enough
Quote:
Originally Posted by Slash-P2P
Shouldn't someone move this to the fixed bugs board?
The what?
__________________
Reply With Quote
  #6  
Old 12-08-2004, 06:12 AM
Slash-P2P Slash-P2P is offline
Banned
Join Date: May 2004
Location: Burning Blade
Posts: 941
Slash-P2P is on a distinguished road
Quote:
Originally Posted by Kaimetsu
The what?
The this.
Reply With Quote
  #7  
Old 12-08-2004, 02:24 PM
Kaimetsu Kaimetsu is offline
Script Monkey
Kaimetsu's Avatar
Join Date: May 2001
Posts: 18,222
Kaimetsu will become famous soon enough
Quote:
Originally Posted by Slash-P2P
The this.
That is not a forum for "fixed bugs".
__________________
Reply With Quote
  #8  
Old 12-10-2004, 02:30 PM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
It is possible todisable the spaces around operands. The /style option will be updated in a few weeks to be more correct.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 01:53 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.