Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Server (https://forums.graalonline.com/forums/forumdisplay.php?f=14)
-   -   sethead not working (https://forums.graalonline.com/forums/showthread.php?t=36018)

ArchAngelTCN_P2P 08-16-2002 06:16 AM

sethead not working
 
Two days ago SL got the NPC Server. Since then sethead doesn't work. When a player tries to change there head it gets set to the newbie head. Is there a server option that has to be used to allow it because our Scripter's can't figure out what the problem is. :confused:

CheeToS2 08-16-2002 06:23 AM

Re: sethead not working
 
Quote:

Originally posted by ArchAngelTCN_P2P
Two days ago SL got the NPC Server. Since then sethead doesn't work. When a player tries to change there head it gets set to the newbie head. Is there a server option that has to be used to allow it because our Scripter's can't figure out what the problem is. :confused:
This is only a hunch...
Theres a serveroption called "setbodyallowed"
There could be a setheadallowed=true too :confused:

Might as well try it, you have nothing to lose :)

ArchAngelTCN_P2P 08-16-2002 09:46 AM

well I tried it. It doesn't work. Thank you though for trying to help, Cheetos.

Python523 08-16-2002 10:18 AM

npc server has a 'race' string, only humans are allowed to sethead and such, add this to the control-npc (it is in the database)
if(actionplayeronline){
setstring client.race,human;
}
and it should work
BTW: DONOT delete the Control-NPC, doing so shuts the npc server down

ArchAngelTCN_P2P 08-16-2002 01:41 PM

I still can't seem to get sethead to work. I'm not sure if that race thing is working or if I have to wait some time for the options to kick in. But it doesn't seem to work. I guess I'll have to wait and see.

Python523 08-16-2002 02:02 PM

Quote:

Originally posted by ArchAngelTCN_P2P
I still can't seem to get sethead to work. I'm not sure if that race thing is working or if I have to wait some time for the options to kick in. But it doesn't seem to work. I guess I'll have to wait and see.
are you sure the people have the string? try opening someone their attributes and see if the string client.race=human is in their flag list

ArchAngelTCN_P2P 08-16-2002 02:09 PM

yes, its in my account. Also in everyone else, but I still can't set my head. :(

Edit: Nevermind, it works. Thank you for your help.

CheeToS2 08-16-2002 06:18 PM

Quote:

Originally posted by Python523
npc server has a 'race' string, only humans are allowed to sethead and such, add this to the control-npc (it is in the database)
I never knew about that :megaeek:

screen_name 08-17-2002 09:57 PM

why does the npc server have a race string for all servers??

ArchAngelTCN_P2P 08-19-2002 05:05 AM

Quote:

Originally posted by screen_name
why does the npc server have a race string for all servers??
Probably because it was made for 2k1 which has Bomy's and Humans. Thats just a guess though. :)

R0b1n-NPC 09-10-2002 06:22 PM

we dont have client.race on delteria and we can set heads fine.

Graal2001_NAT 09-11-2002 04:01 AM

Quote:

Originally posted by R0b1n-NPC
we dont have client.race on delteria and we can set heads fine.
maybe they custom scripted it in the *Player-System thing

R0b1n-NPC 09-11-2002 02:14 PM

maybe.. looking at the -system on bravo, its what they have done lol.

emortylone 09-11-2002 10:52 PM

Delteria had an NPC Server long before the rest. So Stefan most likely made it custom and spent time on it. It seems as though Stefan copied and altert the 2k1 NPC Server for the rest of the servers for some reason. Perhaps it had more things or was just easier that way.
---Shifter

Graal2001_NAT 09-12-2002 03:37 AM

Quote:

Originally posted by emortylone
Delteria had an NPC Server long before the rest. So Stefan most likely made it custom and spent time on it. It seems as though Stefan copied and altert the 2k1 NPC Server for the rest of the servers for some reason. Perhaps it had more things or was just easier that way.
---Shifter

delteria hasnt had an npc server for awhile....I think it was custom scripted tho, all the servers that recently got npcs servers, (Delteria, babylon, npulse, etc) have a different version than servers like Frolic, 2k1, etc (the servers that DONT go down when the USA3 server breaks) the newer npc servers dont take up as much resources

emortylone 09-17-2002 05:54 AM

Yes, I think the newer ones are a bit lighter, but don't have the power or consistancy the 2k1 and Frolic ( I think it is) do. I think 2k2 also has a good one, not sure though.
---Shifter

Graal2001_NAT 09-17-2002 06:30 AM

Quote:

Originally posted by emortylone
Yes, I think the newer ones are a bit lighter, but don't have the power or consistancy the 2k1 and Frolic ( I think it is) do. I think 2k2 also has a good one, not sure though.
---Shifter

2k2 is on a completelly different server (unshared by any other playerworld) and probably has a different kindof npc server

R0b1n-NPC 09-17-2002 02:58 PM

Oh yes, newly improved with better magic effects!

emortylone 09-18-2002 11:15 PM

Is that not the 'jist of what I was saying? 2k1 should be on it's own too I think, or was @ least at one time. But 2k2's is setup to receive 'mudlibs' and what not so that it can use C and C++ coding I thinks.
---Shifter

R0b1n-NPC 09-19-2002 03:37 AM

sprechen sie englisch?

emortylone 09-19-2002 04:55 AM

What now R0bin? LOLz... English is my main language, bit of French and a bit of Spanish though.
---Shifter

R0b1n-NPC 09-19-2002 06:33 AM

mud libs?

Graal2001_NAT 09-19-2002 07:08 AM

Quote:

Originally posted by R0b1n-NPC
mud libs?
is what 2k2 uses, they are C (not c++ from what Ive heard) scripts that basically handle all the weapon scripts of 2k2, making barely anything made in the graal script

emortylone 09-19-2002 07:27 AM

Which to me sounds like cheating :P I don't know if it's true or not, but I have a feeling that Jagen, Riot, Kai, Me, and a few others could replicate it w/o using C :P I don't think it'd be all that hard, but I guess they wanted to get things done and be a step above the rest? Perhaps less lag (not from what I've seen) but I'm sure there must be some great benefit.
---Shifter

R0b1n-NPC 09-19-2002 07:37 AM

**dies**

lol you can do bad things with C
i dont think i feel safe anymore

Graal2001_NAT 09-19-2002 07:39 AM

why bother having more than 1 person do it? i could do it easy enough, either locally store all the weapon weights and stuff as a clientr string array (lots of em) or the laggier way, store everything on a database npc and trigger to a serverside of a weapon to retrieve data

R0b1n-NPC 09-19-2002 08:01 AM

or do what 2k2 does and do them both.

Graal2001_NAT 09-19-2002 08:05 AM

2k2 doesnt use either...

R0b1n-NPC 09-19-2002 08:32 AM

bah nevermind then :P

emortylone 09-19-2002 11:17 PM

Quote:

Originally posted by Graal2001_NAT
why bother having more than 1 person do it? i could do it easy enough, either locally store all the weapon weights and stuff as a clientr string array (lots of em) or the laggier way, store everything on a database npc and trigger to a serverside of a weapon to retrieve data
What are you talking about here? I have no clue what the topic is, and I'm not following what you're saying. What would be important enough to effect more than just that player, to use this.strings in a d/b string vs. clientr.strings on the player?
---Shifter


All times are GMT +2. The time now is 07:00 PM.

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