Someone please look and help me

08/31/2009 01:24 snailtrail#1
i have a lil problem here ^^

server is getting packed and composer is getting laggy so i would like to add extra NPC's for less laggy composes.

If anyone wants to explain it to me i'd be grateful. BUT if you do have a script for it. that would be kind to. but the first one is the best lol. i wanna learn how to add it.

And please dont say search on the forum because i spent 4 hours on here looking.

Just message me back or something. and if you want just add my msn: [Only registered and activated users can see links. Click Here To Register...] this way we dun spamm the forum lol.

just contact me ^^ im basically always on.

Thanks From Eden =)
08/31/2009 01:38 magewarior2#2
Than add this intro the database (5 compose npc.)

Before doing this, check the ID's 200 - 204. if you see some 1 of the id's
just delete them from the script.

Code:
INSERT INTO `cq_npc` VALUES ('0200', '0', '0', 'Aderes', '0029', '12040', '0', '0', '-1', '1000', '0315', '0448', '9539250', '0000', '0000', '0000', '0000', '0000', '0000', '0000', '0', '0', '5', '5', '无', '0000', '00', '00', '0000', '01', '0000', '0003', '0003', '0003', '0003');
INSERT INTO `cq_npc` VALUES ('0201', '0', '0', 'Aderes', '0029', '12040', '0', '0', '-1', '1000', '0291', '0480', '9539250', '0000', '0000', '0000', '0000', '0000', '0000', '0000', '0', '0', '5', '5', '无', '0000', '00', '00', '0000', '01', '0000', '0003', '0003', '0003', '0003');
INSERT INTO `cq_npc` VALUES ('0202', '0', '0', 'Aderes', '0029', '12040', '0', '0', '-1', '1000', '0331', '0460', '9539250', '0000', '0000', '0000', '0000', '0000', '0000', '0000', '0', '0', '5', '5', '无', '0000', '00', '00', '0000', '01', '0000', '0003', '0003', '0003', '0003');
INSERT INTO `cq_npc` VALUES ('0203', '0', '0', 'Aderes', '0029', '12040', '0', '0', '-1', '1000', '0250', '0514', '9539250', '0000', '0000', '0000', '0000', '0000', '0000', '0000', '0', '0', '5', '5', '无', '0000', '00', '00', '0000', '01', '0000', '0003', '0003', '0003', '0003');
INSERT INTO `cq_npc` VALUES ('0204', '0', '0', 'Aderes', '0029', '12040', '0', '0', '-1', '1000', '0302', '0463', '9539250', '0000', '0000', '0000', '0000', '0000', '0000', '0000', '0', '0', '5', '5', '无', '0000', '00', '00', '0000', '01', '0000', '0003', '0003', '0003', '0003');
How to do this?

Well, just go to cq_npc and find the original composer.

Than copy it, with other ID and other place.
its that simple :)

Greets.
08/31/2009 01:39 snailtrail#3
tytytytytytytytytytytytytytytytytytytytytytytytyty tytytytyty :handsdown::handsdown::handsdown::handsdown::hands down::handsdown::handsdown:
08/31/2009 01:46 snailtrail#4
hmmm ok i ran the script like that. removed the ones i had.. now... i get this is my msg server

01:45:45¡¾0¡¢Init Database thread...¡¿
01:45:45¡¾1¡¢Init world thread...¡¿
01:45:45¡¾2¡¢Init map group thread...¡¿
01:46:09¡¾Kernel logic closing...¡¿
08/31/2009 01:48 magewarior2#5
Quote:
Originally Posted by snailtrail View Post
hmmm ok i ran the script like that. removed the ones i had.. now... i get this is my msg server

01:45:45¡¾0¡¢Init Database thread...¡¿
01:45:45¡¾1¡¢Init world thread...¡¿
01:45:45¡¾2¡¢Init map group thread...¡¿
01:46:09¡¾Kernel logic closing...¡¿
huh 0.o you cannot set up your message server enimore? 0.o

i have just copy paste it from my database .. so normal nothing can be wrong :S
08/31/2009 01:49 snailtrail#6
idk what happened. but after i ran that script i couldnt connect to my server any more....

i reset my server now. and im gonna try adding them by hand ^^
i just copied the line with the composer and changed the x and y.. am i doing it right then? all the same but the x and y? lol
08/31/2009 02:06 PowerChaos#7
yea kinda
i am not 100% sure of it
but normal you need to put them that they open the same config in cq_action
and just need to change the posision of it ( X and Y cordinates)

probaly the problem you got that it refused to start is because that action is missing or on a other place (id)

but basicly , just copy your old code and replace the x and y to a other spot , then it get added to your map :D

but for the rest i cant help with it , i dont do the db that much

Greets From The Crasher
08/31/2009 06:41 funhacker#8
Quote:
Originally Posted by The Crasher View Post
yea kinda
i am not 100% sure of it
but normal you need to put them that they open the same config in cq_action
and just need to change the posision of it ( X and Y cordinates)

probaly the problem you got that it refused to start is because that action is missing or on a other place (id)

but basicly , just copy your old code and replace the x and y to a other spot , then it get added to your map :D

but for the rest i cant help with it , i dont do the db that much

Greets From The Crasher
nah it's either something wrong with the map thread. This can happen when you don't have a certain map in your cq_map but you have it in your cq_npc etc. Since that's the only table she obviously edited it would have to be there. Best way to find this out is to post your error log along with it. (syslog\SZ_server.log)
08/31/2009 15:34 snailtrail#9
it was a really long one so im just puttin the entire file here cuz i really dun know what im lookin for
08/31/2009 22:19 funhacker#10
looks like you have an error in your NPC id = 636 so check that one out.

If this isn't true can you please try deleting all your SZ sys logs and then restarting msg.exe so we get only 1 log of the server whilst crashing.

The problem with the npc can be it's trying to be created on a map that doesn't exist so check out it's map_id
08/31/2009 23:34 nooneatall#11
best way to provide less laggy market is adding another map with reborn npcs etc..
09/01/2009 04:34 snailtrail#12
thats weird.. i dun have a NPC with that id O.o i'll search it again.. and try to figure this out... gonna look at the maps after the npc.. thanks for helpin me out
09/01/2009 07:51 drew666#13
The server is craching due to the ID of the npc you have added best way to do it is do one at a time if you have to and after you do one line try to start the server when the server fails to start you found the line that is crashing ur server.