Graal Forums  

Go Back   Graal Forums > Development Forums > Future Improvements
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #31  
Old 09-23-2007, 05:34 PM
TalonShriner TalonShriner is offline
Levelsmith
TalonShriner's Avatar
Join Date: Feb 2006
Posts: 138
TalonShriner is on a distinguished road
Send a message via AIM to TalonShriner
In the mean time, while this GS1-GS2 converter is being programed, how about someone fixes the commands document to GS2 commands instead of the obsolete GS1 commands? It would save everyone a lot of work in the future.
__________________
Shall our paths cross on the road to where ever us humans are racing to, and lets walk instead.
Reply With Quote
  #32  
Old 09-23-2007, 05:45 PM
Skyld Skyld is offline
Script-fu
Skyld's Avatar
Join Date: Jan 2002
Location: United Kingdom
Posts: 3,914
Skyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud of
Send a message via AIM to Skyld
Quote:
Originally Posted by TalonShriner View Post
In the mean time, while this GS1-GS2 converter is being programed, how about someone fixes the commands document to GS2 commands instead of the obsolete GS1 commands? It would save everyone a lot of work in the future.
http://forums.graalonline.com/forums...5&postcount=20
__________________
Skyld
Reply With Quote
  #33  
Old 05-09-2011, 09:57 PM
mrnothersan mrnothersan is offline
Owner of MrNothersan
Join Date: Mar 2011
Location: On the Computer
Posts: 97
mrnothersan is an unknown quantity at this point
Send a message via AIM to mrnothersan Send a message via MSN to mrnothersan
Has the translator been made yet...? It would be a great help to me...
Regards
__________________

Regards
MrNothersan - Playerworld owner


Staff Hirings Thread for MrNothersan: http://forums.graalonline.com/forums....php?p=1639180

Reply With Quote
  #34  
Old 05-09-2011, 10:00 PM
WhiteDragon WhiteDragon is offline
Banned
Join Date: Feb 2007
Posts: 1,002
WhiteDragon is a splendid one to beholdWhiteDragon is a splendid one to beholdWhiteDragon is a splendid one to beholdWhiteDragon is a splendid one to beholdWhiteDragon is a splendid one to behold
Quote:
Originally Posted by mrnothersan View Post
Has the translator been made yet...? It would be a great help to me...
Regards
No. Translating GS1 to GS2 would be a pain. Also, the resulting GS2 would pretty damn ugly.


It'd be nice if all GS1 learning references were just obliterated off the planet so people learning how to script wouldn't constantly learn the wrong thing.
Reply With Quote
  #35  
Old 05-09-2011, 10:16 PM
mrnothersan mrnothersan is offline
Owner of MrNothersan
Join Date: Mar 2011
Location: On the Computer
Posts: 97
mrnothersan is an unknown quantity at this point
Send a message via AIM to mrnothersan Send a message via MSN to mrnothersan
Quote:
Originally Posted by WhiteDragon View Post
No. Translating GS1 to GS2 would be a pain. Also, the resulting GS2 would pretty damn ugly.


It'd be nice if all GS1 learning references were just obliterated off the planet so people learning how to script wouldn't constantly learn the wrong thing.
But i've made plenty of GS1 scripts before i even knew what GS2 was... i wouldn't really care about how ugly it was as long as it worked
__________________

Regards
MrNothersan - Playerworld owner


Staff Hirings Thread for MrNothersan: http://forums.graalonline.com/forums....php?p=1639180

Reply With Quote
  #36  
Old 05-09-2011, 10:31 PM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by mrnothersan View Post
But i've made plenty of GS1 scripts before i even knew what GS2 was... i wouldn't really care about how ugly it was as long as it worked
With that attitude you won't ever become a good scripter.
__________________
Reply With Quote
  #37  
Old 05-09-2011, 10:33 PM
mrnothersan mrnothersan is offline
Owner of MrNothersan
Join Date: Mar 2011
Location: On the Computer
Posts: 97
mrnothersan is an unknown quantity at this point
Send a message via AIM to mrnothersan Send a message via MSN to mrnothersan
Quote:
Originally Posted by cbk1994 View Post
With that attitude you won't ever become a good scripter.
mmhmm....
__________________

Regards
MrNothersan - Playerworld owner


Staff Hirings Thread for MrNothersan: http://forums.graalonline.com/forums....php?p=1639180

Reply With Quote
  #38  
Old 05-09-2011, 10:43 PM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
Quote:
Originally Posted by mrnothersan View Post
Has the translator been made yet...? It would be a great help to me...
Regards
Have you read:

http://wiki.graal.net/index.php/Creation/Dev/GS1_To_GS2

There's also like four other tutorials on this page:

http://wiki.graal.net/index.php/Creation/Dev/GScript

GS1 allows too many weird hacks that shouldn't be carried over to GS2. I.e:

PHP Code:
if (created || playerenters) {
  
// script

To be done properly in GS2 it would have to be re-written as:

PHP Code:
function onCreated() {
  
script();
}

function 
onPlayerEnters() {
  
script();
}

function 
script() {
  
// script

Considering GS1 still works, a translator isn't going to fix the problems caused by scripts not working with an npc-server.
__________________
Quote:
Reply With Quote
  #39  
Old 05-09-2011, 10:49 PM
mrnothersan mrnothersan is offline
Owner of MrNothersan
Join Date: Mar 2011
Location: On the Computer
Posts: 97
mrnothersan is an unknown quantity at this point
Send a message via AIM to mrnothersan Send a message via MSN to mrnothersan
Quote:
Originally Posted by fowlplay4 View Post
Considering GS1 still works, a translator isn't going to fix the problems caused by scripts not working with an npc-server.
GS1 works on a npc-server??... Errors occur on RC that normally wouldn't if i use it on GraalEditor...
__________________

Regards
MrNothersan - Playerworld owner


Staff Hirings Thread for MrNothersan: http://forums.graalonline.com/forums....php?p=1639180

Reply With Quote
  #40  
Old 05-09-2011, 11:39 PM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
Quote:
Originally Posted by mrnothersan View Post
GS1 works on a npc-server??... Errors occur on RC that normally wouldn't if i use it on GraalEditor...
Quote:
Originally Posted by fowlplay4 View Post
Considering GS1 still works, a translator isn't going to fix the problems caused by scripts not working with an npc-server.
Which is probably because you don't have //#CLIENTSIDE at the top of your level script, so when it attempts to call functions (I.e: timereverywhere that don't exist on the server-side it displays errors.
__________________
Quote:
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 02:22 AM.


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