Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 12-21-2004, 11:56 PM
Gman4pwnu Gman4pwnu is offline
Banned
Join Date: Jan 2004
Posts: 434
Gman4pwnu is on a distinguished road
Send a message via AIM to Gman4pwnu
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?
Reply With Quote
  #2  
Old 12-23-2004, 12:34 AM
osrs osrs is offline
Graalian since 1998
osrs's Avatar
Join Date: Mar 2002
Location: Brazil
Posts: 2,724
osrs is on a distinguished road
Send a message via ICQ to osrs Send a message via AIM to osrs Send a message via MSN to osrs Send a message via Yahoo to osrs
Store the information on players accounts?
__________________
"Ability is what you are capable of doing. Motivation determines what you do. Attitude determines how well you do it."
Facebook: facebook.com/raysilvadotnet /
Reply With Quote
  #3  
Old 12-23-2004, 02:15 AM
Loriel Loriel is offline
Somewhat rusty
Loriel's Avatar
Join Date: Mar 2001
Posts: 5,059
Loriel is a name known to allLoriel is a name known to allLoriel is a name known to allLoriel is a name known to all
That is how Gk does it, lots of client. strings.
Reply With Quote
  #4  
Old 12-23-2004, 03:28 AM
middo middo is offline
VHE Monkey
middo's Avatar
Join Date: Aug 2002
Location: California
Posts: 327
middo is on a distinguished road
Send a message via AIM to middo
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)
Reply With Quote
  #5  
Old 01-02-2005, 06:44 AM
Velox Cruentus Velox Cruentus is offline
Registered User
Velox Cruentus's Avatar
Join Date: Dec 2004
Location: Quebec, Canada
Posts: 465
Velox Cruentus is on a distinguished road
Send a message via ICQ to Velox Cruentus Send a message via AIM to 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.
Reply With Quote
  #6  
Old 01-02-2005, 08:32 AM
Evil_Trunks Evil_Trunks is offline
Evil
Evil_Trunks's Avatar
Join Date: Dec 2004
Posts: 391
Evil_Trunks is on a distinguished road
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.
__________________

Reply With Quote
  #7  
Old 01-02-2005, 08:45 AM
Velox Cruentus Velox Cruentus is offline
Registered User
Velox Cruentus's Avatar
Join Date: Dec 2004
Location: Quebec, Canada
Posts: 465
Velox Cruentus is on a distinguished road
Send a message via ICQ to Velox Cruentus Send a message via AIM to Velox Cruentus
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.
Reply With Quote
  #8  
Old 01-02-2005, 10:54 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 Evil_Trunks
That's a very interesting command!

I have never heard about that before.
Probably because it's rarely used on the forums
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 05:30 PM.


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