Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Transferring large amount of strings from serverside-clientside and vice-versa (https://forums.graalonline.com/forums/showthread.php?t=56548)

Gman4pwnu 12-21-2004 11:56 PM

Transferring large amount of strings from serverside-clientside and vice-versa
 
Im working on a gang system thats really user friendly and uber cool heh, but im not sure on the best way to transfer all the strings at once to and from the database that stores the info, with triggeraction, that'd be a lot of parameters, are there any other ways?

osrs 12-23-2004 12:34 AM

Store the information on players accounts?

Loriel 12-23-2004 02:15 AM

That is how Gk does it, lots of client. strings. ;)

middo 12-23-2004 03:28 AM

I made a gang/party system for fun once, I just had all the information sent to and from the player stored in one string. (Took alot of memorizing of which index was which, but it worked)

Velox Cruentus 01-02-2005 06:44 AM

Something you can do, if the strings are in a database NPC, is:

NPC Code:

with (getnpc(Database)){
copystrings this.tags,client.gangtags;
}



This would transfer all the strings with this.tags to client.gangtags...
In such way, "this.tagsmiddo" would then become "client.gangtagsmiddo", and can easily be accessed clientside from there.

Evil_Trunks 01-02-2005 08:32 AM

Quote:

Originally Posted by Velox Cruentus
Something you can do, if the strings are in a database NPC, is:

NPC Code:

with (getnpc(Database)){
copystrings this.tags,client.gangtags;
}



This would transfer all the strings with this.tags to client.gangtags...
In such way, "this.tagsmiddo" would then become "client.gangtagsmiddo", and can easily be accessed clientside from there.

That's a very interesting command!

I have never heard about that before.

Velox Cruentus 01-02-2005 08:45 AM

Quote:

Originally Posted by Evil_Trunks
That's a very interesting command!

I have never heard about that before.

Well, one more command in your notebook.

Slash-P2P 01-02-2005 10:54 AM

Quote:

Originally Posted by Evil_Trunks
That's a very interesting command!

I have never heard about that before.

Probably because it's rarely used on the forums ;)


All times are GMT +2. The time now is 05:39 PM.

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