[Help Thread] Please post your questions here.

10/17/2015 23:57 TheOnlyOneRaskim#5191
Quote:
Originally Posted by ghostfcc View Post
Hello guys,

I'm trying to make NPC walking as guards patrols (which are monsters).
Also I tried to modify, in NPCResource table, columns : is_roam (1) , roaming_id (ex : 4004), standard_walk_speed (40), standard_run_speed (80), walk_speed (40) and run_speed (80)

Gameserver crash when roaming_id > 0

I took my roaming_id from RoamingResource table, but I think it is a different table for NPCs ...

Is someone have tried to make NPC moving?

Thanks
Wen

The Roaming System is quiet easy. You just have to open your eyes... :D


You have to use the RoamingResource Table. Create a new, not used id, fill the needed infos (if i remember correct you have to use hate_type 1 for peacefull).

Than go ahead to The RoamingPointResource and create entrys for each way point.

e.g.
Point 0 goes to 1, 1 goes to 2 and so on.

And the last step is, you have to fill the needed LUA entrys for that roaming id.
So open up your monster_roaming.lua and add the lines for each mob/npc wich has to walk in that group

e.g.

Code:
respawn_roaming_mob( roaming_id, npc_id, position_in_group, count, time_it_lasts )
it is possible that the params are wrong, since i didnt used the roaming for over 2 years now xDDD
10/18/2015 00:33 ghostfcc#5192
Thanks for this explanation, but respawn_roaming_mob takes id from MonsterResource table and not from NPCResource table (that's my problem)
I'm using 9.1 Server, perhaps yours was a different version?
I think same as SilentWisdom but I expected for someone had done this before ^^
10/18/2015 01:23 XJaegerMeisteRX#5193
as raskim said use your eyes xD - roaming resource is database table.

U Have to edit NPC Resource and fill out is_roam and roaming_id then fill out roaming resource using the roaming id and roaming point resource using id and waypoints.
10/18/2015 01:36 ghostfcc#5194
Quote:
Originally Posted by XJaegerMeisteRX View Post
as raskim said use your eyes xD - roaming resource is database table.

U Have to edit NPC Resource and fill out is_roam and roaming_id then fill out roaming resource using the roaming id and roaming point resource using id and waypoints.
Thanks again, but as I said in my original post : Gameserver crash when roaming_id > 0 <- that's in NPCResource table.

I already verified that the roaming_id is ok in RoamingResource table and have way points associated in the RoamingPointResource table.
10/18/2015 01:40 SilentWisdom#5195
I will test later and confirm, but at-least in 6.2 the GS simply crashes if you give an npc a roaming id > 0. Even if there is a properly formed roamingresource entry and waypoints. Will report results upon testing.
10/18/2015 02:31 ThunderNikk#5196
What if you use the wandering merchant...

Code:
11042	100011042	105011042	99	0	0	0	0	0	1048575	5	-25	30	beast_rapter_lv1	10106	10202	234201	0	0	0	0	303101	304302	0	0	0	0	0	0	100	1	5120	40	80	40	80	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	NPC_Quest_roaming_merchant_contact()	-1	1
Or at least use it for reference.
10/18/2015 04:12 TheOnlyOneRaskim#5197
Quote:
Originally Posted by ghostfcc View Post
Thanks for this explanation, but respawn_roaming_mob takes id from MonsterResource table and not from NPCResource table (that's my problem)
I'm using 9.1 Server, perhaps yours was a different version?
I think same as SilentWisdom but I expected for someone had done this before ^^
Like i wrote in my previous Post. I didnt used roaming long time now.

But on one of my older Projects, i made a town wich only had roaming npc's.

I guess it was a 7.x server. Dont know yet. So maybe it's not possible for 9.1.
10/18/2015 09:52 XJaegerMeisteRX#5198
OK i don't know but we have an roaming npc on our server walking around in horizon.

Look at thndr post be sure your X and Y is empty ( 0 ) roaming npc's have no fixed values for position or for face. try using monster model for npc with race_id 99 and sex_id 0. Look at monster_motion_set try using walk motion_file for this monster model.
But i think that you do not need this value. at roaming resource try roaming_type 1 for from a to b and back or 2 for waypoints going around. roming_point's first waypoint has point id 0 and then use 4 waypoints to try.

Remember that roaming npc's in town like guards in horizon are monsters and not npc's

Be sure that your roaming_id is unique and is not used by monster in lua script.

look at this roaming npc

[Only registered and activated users can see links. Click Here To Register...]
10/18/2015 12:41 ghostfcc#5199
Quote:
Originally Posted by XJaegerMeisteRX View Post
OK i don't know but we have an roaming npc on our server walking around in horizon.

Look at thndr post be sure your X and Y is empty ( 0 ) roaming npc's have no fixed values for position or for face. try using monster model for npc with race_id 99 and sex_id 0. Look at monster_motion_set try using walk motion_file for this monster model.
But i think that you do not need this value. at roaming resource try roaming_type 1 for from a to b and back or 2 for waypoints going around. roming_point's first waypoint has point id 0 and then use 4 waypoints to try.

Remember that roaming npc's in town like guards in horizon are monsters and not npc's

Be sure that your roaming_id is unique and is not used by monster in lua script.

look at this roaming npc

[Only registered and activated users can see links. Click Here To Register...]
Thanks, Got it working!
The X, Y and face position wasn't set to 0. I tried to use the npc 11042 but I did'nt understood the coords X and Y.

The motion_id doesn't work but I'm still searching my mistake :)
10/20/2015 21:22 Schranmann#5200
Guten Abend,ich bräuchte einwenig hilfe.Ein Bekannter und ich haben alles wie beschrieben auf 2 unterschiedlichen Rechnern konfiguriert und ausgeführt und können alles starten,soweit.
der launscher etc startet können benutzernamen und passwort angeben und wenn wir login drücken passiert nix.
Es erscheint keine fehlermeldung,es tut sich nix!

schonmal danke im vorraus
10/21/2015 12:29 XJaegerMeisteRX#5201
wenn ihr auf login klickt sollte zumindest eine fehlermeldung kommen, das der login falsch ist. sollte der login richtig sein, solltet ihr zumindest in die serverauswahl kommen. selbst wenn der gameserver nicht gestartet ist kbekommt ihr eine leere liste angezeigt.

welche gameserver version benutzt ihr und welchen auth (auth emu oder rappelz auth.exe)

Hört sich schon ganz danach an als wenn der auth client port nicht freigegeben ist bzw falsch eingestellt ist , welcher vom laucher aus zum auth connectet.

laucher einstellung für den port z.b. /auth_port:1234
auth.opt = io.auth.port:1234

Was sagt der Auth server beim starten? was sagt der gameserver beim starten?
10/22/2015 22:08 syglerice#5202
Maybe my question will be an idiot question but it will be idiot to not ask.
The Auth database of 9.1 can be used for the 8.1 server of this guide : [Only registered and activated users can see links. Click Here To Register...] ???
I have seen (and thanks smoke) for the 9.1 guide but i want return on 8.1 and don't found auth database (link dead) that's why i ask.
Thanks for answer
10/23/2015 00:09 ThunderNikk#5203
The auth database has been the same aside from a few columns since they started working with epic 6 here at EPVP.

Yes it will work to create an epic 8.1 server.
10/23/2015 16:25 syglerice#5204
ok thanks thndr
10/24/2015 06:23 tokesbowls#5205
Hello Again Everyone,
Been awhile since ive posted here. Im currently searching for ( PARALLEL WORLD )
for my server, If anyone would happen to have the files and willing to share please
contact me. thank you

(Or any other 9.2 dungeons)