View Single Post
  #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