Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Serverside Scripthng (https://forums.graalonline.com/forums/showthread.php?t=34898)

Acererak 08-02-2002 10:01 AM

Serverside Scripthng
 
Where can I learn about serverside scripting, I want my NPCs to work with the NPC Server but basicly what i know is out of date.

AlexH 08-02-2002 10:03 AM

The only real way to learn is to get yourself access to an NPC Server and just script on it.
Too difficult to learn without having somewhere you can test scripts.

Acererak 08-02-2002 10:08 AM

you know of any job openings?

weirdpikachu2 08-02-2002 10:24 AM

Quote:

Originally posted by Acererak
you know of any job openings?
utopia's in desperate need of good scripters... as long as you can at least |337ly well with clientside for now, you're hired!

Poogle 08-02-2002 11:09 AM

Quote:

Originally posted by weirdpikachu2


utopia's in desperate need of good scripters... as long as you can at least |337ly well with clientside for now, you're hired!

Its not a server though so therefore it has no npc server

weirdpikachu2 08-02-2002 11:12 AM

Quote:

Originally posted by Poogle
Its not a server though so therefore it has no npc server
after we submit for a private server, however

until then, we'll need clientside scripting only in order to get accepted... if he can help us, i'm sure we'll make it for a private server

screen_name 08-02-2002 12:37 PM

Quote:

Originally posted by AlexH
The only real way to learn is to get yourself access to an NPC Server and just script on it.
Too difficult to learn without having somewhere you can test scripts.

exactly, and once you start testing on server, you really cant rely on your knowledge of clientside scripting


such as weapon triggeractions :), that took me a day to get, and i had to bug stefan about it 5 times to finally understand

i was like do i put WeaponName or the weapon's name
and like do i change 0,0 to playerx and playery, lol

i hope i didnt bother him too much :)

Python523 08-02-2002 12:42 PM

I don't know why people think it's so hard to learn serverside, it wasn't difficult for me to learn at all

Kyle_2002 08-05-2002 07:03 AM

Than make a tutorial.

nyghtGT 08-05-2002 07:35 AM

Quote:

Originally posted by Python523
I don't know why people think it's so hard to learn serverside, it wasn't difficult for me to learn at all
Some people just don't see it as:

Stuff on the players computer (clientside)

Stuff on Graal's computer (serverside)

Kyle_2002 08-05-2002 07:52 AM

Well I'm still learing how to script, I learned how to script about 2 days ago and I havn't been on my comp sence than. :(

LilNiglet 08-05-2002 08:11 AM

Quote:

Originally posted by Python523
I don't know why people think it's so hard to learn serverside, it wasn't difficult for me to learn at all
X2

Kyle_2002 08-05-2002 09:37 AM

Someone make a tutorial or make some examples on how to do it. Saying "That **** was e to the z" doesn't help anyone.

Torankusu 08-05-2002 09:58 AM

Quote:

Originally posted by Kyle_2002
Someone make a tutorial or make some examples on how to do it. Saying "That **** was e to the z" doesn't help anyone.
example.


//#CLIENTSIDE makes a part of the script clientside.

Now, if we were to make a warp ring, or something, this is how I would do it:

The weapon's name is WRing
NPC Code:
Triggeraction - Clientside and triggering serverside actions.


if (actionWRing){
setlevel2 level,x,y; //I think...
}

//#CLIENTSIDE
if (weaponfired){
triggeraction 0,0,WRing,; //(WRing, being the weapon's name
}


Kyle_2002 08-05-2002 10:04 AM

Quote:

Originally posted by Torankusu
example.


//#CLIENTSIDE makes a part of the script clientside.

Now, if we were to make a warp ring, or something, this is how I would do it:

The weapon's name is WRing
NPC Code:
Triggeraction - Clientside and triggering serverside actions.


if (actionWRing){
setlevel2 level,x,y; //I think...
}

//#CLIENTSIDE
if (weaponfired){
triggeraction 0,0,WRing,; //(WRing, being the weapon's name
}


I think I get it. The only thing one would need to put in the CLIENTSIDE part is external part of the NPC. (If you get what I'm saying)


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

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