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 09-29-2001, 06:00 AM
btedji btedji is offline
bryan986
btedji's Avatar
Join Date: Apr 2001
Location: Force 10
Posts: 1,153
btedji is on a distinguished road
Send a message via ICQ to btedji Send a message via AIM to btedji Send a message via Yahoo to btedji
client/server

do server. and client. work on non-p2p servers?
Reply With Quote
  #2  
Old 09-29-2001, 06:58 AM
nyghtGT nyghtGT is offline
Banned
nyghtGT's Avatar
Join Date: Jun 2001
Posts: 3,993
nyghtGT is on a distinguished road
Send a message via AIM to nyghtGT
uhh ...

i am not possitibely sure but from what i have heard i think that serverside works for non-p2p but client only works for p2p ...
Please correct me if i am wrong ....
Reply With Quote
  #3  
Old 09-29-2001, 07:27 AM
BocoC BocoC is offline
Registered User
BocoC's Avatar
Join Date: Jun 2001
Location: Washington State, USA
Posts: 980
BocoC is on a distinguished road
Send a message via AIM to BocoC Send a message via Yahoo to BocoC
Ok. Non-p2p server's are ONLY clientside. The downfall of this is that it is really hard to make npc's that react the same way to EVERY player in the level. Npcserver adds serverside support to npcs. The levels are loaded into the npcserver, so that way scripts can execute even if there are no players in the level.
__________________
-Boco

FLKJH$TRFG*$(&%>FMG >REN<>F ;.kjsd
Reply With Quote
  #4  
Old 09-29-2001, 07:38 AM
Xaviar Xaviar is offline
Registered User
Join Date: Aug 2001
Location: Fairyland
Posts: 463
Xaviar is on a distinguished road
Send a message via ICQ to Xaviar Send a message via AIM to Xaviar
But can we still use server.strings I think he was wondering (I know I am )
__________________
One by one, the penguins steal my sanity.

*cookie for Xaviar* --Originally posted by Tyhm

--Xaviar

A m e r i c a
Reply With Quote
  #5  
Old 09-29-2001, 10:16 AM
dragoonvenganc dragoonvenganc is offline
Registered User
Join Date: Jul 2001
Location: USA
Posts: 331
dragoonvenganc is on a distinguished road
Send a message via ICQ to dragoonvenganc Send a message via AIM to dragoonvenganc
kammy just to make sure ..for non p2p.. if the script and or variable .. does not have server. or client. in front of it or the
//#clientside..
then it is severside right...

if not specilfied it is server..
__________________
Dragoon Vengance
Owner of Pangea Relics of Time
P2P Rp server
For info or job
Email: [email protected]
aim: dragoonvengnc
Reply With Quote
  #6  
Old 09-29-2001, 10:37 AM
BocoC BocoC is offline
Registered User
BocoC's Avatar
Join Date: Jun 2001
Location: Washington State, USA
Posts: 980
BocoC is on a distinguished road
Send a message via AIM to BocoC Send a message via Yahoo to BocoC
Plus, to my recollection, there is no such thing as a //#SERVERSIDE. Basically, non-p2p is entirely clientside, while p2p is serverside (yay) AND clientside. You do not need client.strings in non-p2p because you don't have support for serverside scripting.
__________________
-Boco

FLKJH$TRFG*$(&%>FMG >REN<>F ;.kjsd
Reply With Quote
  #7  
Old 09-29-2001, 10:38 AM
dragoonvenganc dragoonvenganc is offline
Registered User
Join Date: Jul 2001
Location: USA
Posts: 331
dragoonvenganc is on a distinguished road
Send a message via ICQ to dragoonvenganc Send a message via AIM to dragoonvenganc
i meant.. server.string or client.string

if you have non p2p.. which one does it do if not specified..

So on non p2p .. every npc acts as if client.. except for server.strings..
__________________
Dragoon Vengance
Owner of Pangea Relics of Time
P2P Rp server
For info or job
Email: [email protected]
aim: dragoonvengnc
Reply With Quote
  #8  
Old 09-29-2001, 10:49 AM
BocoC BocoC is offline
Registered User
BocoC's Avatar
Join Date: Jun 2001
Location: Washington State, USA
Posts: 980
BocoC is on a distinguished road
Send a message via AIM to BocoC Send a message via Yahoo to BocoC
Um... yeah. Everything acts as though it were client.strings. But, to my knowledge, in npcserver, client.strings are saved on the player's account AND sent BACK to the player so they can be read in clientside scripts. If you make a normal string, (without the client. portion), then it is only stored on the account and not sent back to the player. So, yeah. Think of everything as client.strings. As for server.strings, they are stored on the server and EVERY npc in the server can read them. If you want to create a good multiplayer enemy, then server.strings can be used to simulate serverside scripting. So, any npc can read a server.string. That help?
__________________
-Boco

FLKJH$TRFG*$(&%>FMG >REN<>F ;.kjsd
Reply With Quote
  #9  
Old 09-29-2001, 11:14 AM
Xaviar Xaviar is offline
Registered User
Join Date: Aug 2001
Location: Fairyland
Posts: 463
Xaviar is on a distinguished road
Send a message via ICQ to Xaviar Send a message via AIM to Xaviar
Quote:
Originally posted by Kaimetsu


You are correct. However, I feel it necessary to mention that using server strings in non-p2p is laggier :-(
How much lag are we talking about? Like "Oh my god dont use that, way to much lag" or "Oh, theres some extra lag here, but its not really that noticable"
__________________
One by one, the penguins steal my sanity.

*cookie for Xaviar* --Originally posted by Tyhm

--Xaviar

A m e r i c a
Reply With Quote
  #10  
Old 09-29-2001, 11:32 AM
Xaviar Xaviar is offline
Registered User
Join Date: Aug 2001
Location: Fairyland
Posts: 463
Xaviar is on a distinguished road
Send a message via ICQ to Xaviar Send a message via AIM to Xaviar
Quote:
Originally posted by Kaimetsu


Don't use it very often. Like, not every frame or anything.
Okiedokey
__________________
One by one, the penguins steal my sanity.

*cookie for Xaviar* --Originally posted by Tyhm

--Xaviar

A m e r i c a
Reply With Quote
  #11  
Old 09-30-2001, 03:42 AM
btedji btedji is offline
bryan986
btedji's Avatar
Join Date: Apr 2001
Location: Force 10
Posts: 1,153
btedji is on a distinguished road
Send a message via ICQ to btedji Send a message via AIM to btedji Send a message via Yahoo to btedji
so if you were to make a server.whatever string on a non-p2p server could any npc access it across the server?
Reply With Quote
  #12  
Old 09-30-2001, 06:52 AM
btedji btedji is offline
bryan986
btedji's Avatar
Join Date: Apr 2001
Location: Force 10
Posts: 1,153
btedji is on a distinguished road
Send a message via ICQ to btedji Send a message via AIM to btedji Send a message via Yahoo to btedji
wow now i can do soooooo much more stuff that i have wanted to do!!!
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 07:25 PM.


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