Post Pacific

Post Pacific (https://postpacific.mmorpg-game.online/index.php)
-   Lineage 2 Help (https://postpacific.mmorpg-game.online/forumdisplay.php?f=37)
-   -   ≈ Fixin NPC crash in Retail Server (https://postpacific.mmorpg-game.online/showthread.php?t=5283)

Sdw 01.08.2006 20:03

func_call 218300428 // func[SendScriptEvent]

func_call 184614913 // func[IsNullCreature]

droptable 10.08.2006 10:47

My l2npc before crash, write this error:

08/10/2006 12:36:xx.xx8, [.\NPC.cpp][13493] SendScriptEvent(to=null)
08/10/2006 12:36:xx.xx8, func_call : Invalid argument count. Func[SendScriptEvent], argcount[1], sfnp.argN[3], ai[default_maker] event[ON_START], pc[67], sp[1]

I think, this is IA error,but I not Ai scripter... Please help me somebody!

Sorry for my bad english !

barabashka!

Please share the fixed Ai ! I testing certainly and report the errors!

midnight 10.08.2006 11:25

The selected Attachment does not exist anymore

404 File Not Found: The File files/string_433.rar does not exist.

HongK 11.08.2006 13:57

There is no need for a dll to fix this problem lol .. Someone already gave THE hint you need to fix it on a different page

The reason your NPCs are crashing IS because of MY_DYING but look at the error that l2npc generates .. read it further

You've got bad code in your AI

BTW, just so you guys know there are huge html exploits that exist and you're gonna get owned by them unless you start thinking ahead .. It is possible to fix them in AI too, you just need to know what to do :O

Launching a c4 retail server right now without taking this into consideration is like asking to have your server blown up

Truffe 11.08.2006 14:29

Wow. No shit.

barabashka 12.08.2006 06:38

Ehhh, here it is. Say tnx to me:)

AI_FULLY_FIXED

For password PM me.



P.S. Need some cash:)

droptable 12.08.2006 06:49

Thx ! PM sent...

TheOrder 12.08.2006 06:56

Cash for u :) !!! I love smart people :twisted:

Phantom2005 12.08.2006 08:21

Quote:

08/10/2006 12:36:xx.xx8, [.\NPC.cpp][13493] SendScriptEvent(to=null)
08/10/2006 12:36:xx.xx8, func_call : Invalid argument count. Func[SendScriptEvent], argcount[1], sfnp.argN[3], ai[default_maker] event[ON_START], pc[67], sp[1]
goto class default_maker
goto the ON_START handler.
then go to the 67th line.. after variables stuff... that func_call is bugged.

sg552 12.08.2006 10:14

[last-send: iria001.htm][recived: observer_1477443854_1] : INVALID link on bypass[.\UserSocket_HTMLCmd.cpp][177]
[last-send: iria001.htm][recived: observer_group_1477443854_8] : INVALID link on bypass[.\UserSocket_HTMLCmd.cpp][177]
[last-send: iria001.htm][recived: observer_1477443854_16] : INVALID link on bypass[.\UserSocket_HTMLCmd.cpp][177]

Can anyone explain what it mean? As i understand it missmatch ai with html?

mar_tin 12.08.2006 14:52

wow I just opened AI to start looking at it, and I saw this share. Let me check it :P

w2obom 12.08.2006 17:32

Quote:

Originally Posted by barabashka
Ehhh, here it is. Say tnx to me:)

AI_FULLY_FIXED

For password PM me.



P.S. Need some cash:)

give me plz pass :)

BeTePok 12.08.2006 18:29

Quote:

Originally Posted by barabashka
Ehhh, here it is. Say tnx to me:)

AI_FULLY_FIXED

For password PM me.



P.S. Need some cash:)

Thx thx thx
Big thx
I'm see to you work and say thx again

Rexx 12.08.2006 22:11

Thanks for the share.

MuNLoK 13.08.2006 01:19

Quote:

Originally Posted by barabashka
Ehhh, here it is. Say tnx to me:)

AI_FULLY_FIXED

For password PM me.



P.S. Need some cash:)

I sended pm to you, but I don't know if you have received it. I gave you all my cash. Thank you!

dknod 13.08.2006 02:26

It's not so good us he say just a regular fixes what was posted here... and some minor addons... and it aint working perfect server still goes down nothing special... :(

szuszu 13.08.2006 08:26

i didnt check all yet, but quest are working with this AI so it can be good, need to test more, thx for yor work

Charis 13.08.2006 10:22

we are cheking it - 20 hours without cashes (the best befor was 1 hour :))
quests are working - I think it's good job :)
Thanks :)

MuNLoK 13.08.2006 10:29

lilith & anakim & baium work with this ai?

Hidaru 13.08.2006 10:46

Some quests are working some dont. try mimirs quest at some point your stuck because a gem isnt dropping.

Charis 13.08.2006 10:52

Quote:

Originally Posted by Hidaru
Some quests are working some dont. try mimirs quest at some point your stuck because a gem isnt dropping.

I've thought the same on other quest - but killing mobs for about two hours I've got first quest item (char lvl 70+, mobs - 39)

Chines random, like our players says...

szuszu 13.08.2006 11:22

3rd class change quests are working fine, rest i didnt checked yet

sg552 13.08.2006 12:47

Quote:

Originally Posted by sg552
[last-send: iria001.htm][recived: observer_1477443854_1] : INVALID link on bypass[.\UserSocket_HTMLCmd.cpp][177]
[last-send: iria001.htm][recived: observer_group_1477443854_8] : INVALID link on bypass[.\UserSocket_HTMLCmd.cpp][177]
[last-send: iria001.htm][recived: observer_1477443854_16] : INVALID link on bypass[.\UserSocket_HTMLCmd.cpp][177]

Can anyone explain what it mean? As i understand it missmatch ai with html?

Can anyone help??? Where is the problem: client side\npc+ai\html???

MuNLoK 13.08.2006 15:50

I don't know what it the problem for the invalid link too, if anyone can help us.. thnk

FidoW 13.08.2006 16:10

Well, i was fixing AI... and i test some of AI posted in this thread... all seens to work good... but i have a problem with this NPC...
http://img151.imageshack.us/img151/3...0001ab2.th.jpg

This NPC is supposed to walk (yes, walk, not run) along Talking Island Village, from a door of the city to other.. and talk... i dont know what is bad.. i think maybe using WayPoints but i think this AI must me enought but i dont understand how SCRIPT_EVENT handler works or how it starts... someone can help ? i try to decompile AI of scribe_leandro.. i have this.. any idea ? why this npc dont walk ? this AI is incomplete ? or what is happening ?

NOTE: i dont know if I decompile this AI good.. is my first attemp with C4 AI. Maybe someone do a decompiler ? and a compiler ? It will be very usefull.


Code:

class 1 scribe_leandro : citizen {

  handler:

  EventHandler CREATED(myself) {
    AddMoveSuperPointDesire((myself.sm.name), 0, 2000);
    ChangeMoveType(myself, 0);
    super;
  }


  EventHandler SCRIPT_EVENT(myself, script_event_arg1, script_event_arg2) {
    if (script_event_arg1 == 10020) {
      if (script_event_arg2 == 3) {
        Say(MakeFString(1010205, "", "", "", "", ""));
      }
      else if (script_event_arg2 == 4) {
        Say(MakeFString(1010206, "", "", "", "", ""));
      }
      AddMoveSuperPointDesire((myself.sm.name), 0, 50);
    }
    super;
  }

}


Zil 13.08.2006 18:22

Hmmm....I have another version ;)
Code:

class 1 scribe_leandro : citizen {

  handler:

  EventHandler CREATED(myself) {
    AddMoveSuperPointDesire((myself.sm+200), 0, 2000);
    ChangeMoveType(0);
    super;
  }


  EventHandler USER_CONNECTED(myself, script_event_arg1, script_event_arg2) {
    if (script_event_arg1 == 10020) {
      if (script_event_arg2 == 3) {
        Say(MakeFString(1010205, "", "", "", "", ""));
      }
      else if (script_event_arg2 == 4) {
        Say(MakeFString(1010206, "", "", "", "", ""));
      }
      AddMoveSuperPointDesire((myself.sm+200), 0, 50);
    }
    super;
  }
}


FidoW 13.08.2006 18:49

You are using bad handler IDs....

ID 49 now is SCRIPT_EVENT

USER_CONNECTED is id 55

Aikeleer 13.08.2006 19:19

You mean
AddMoveSuperPointDesire((myself.sm.name), 0, 2000);

My best guess is that you changed HDAI's functions etc for a bit. Check up on the creaturenames aswell. ;)

Aikeleer 13.08.2006 19:23

Ok, it uses someknid of waypoint interface indeed, SuperPoints to be exact. What is the issue? He doesn't mvoe at all? In that case the superpointlist just doesnt exists. If you don't want to bother creating one and you know where he should walk, you can do it manually with the func[AddMoveToDesire].

MuNLoK 13.08.2006 19:58

In my server this npc is moving correctly, it's related with SuperPoint.bin in geodata, have you this file correctly?

FidoW 13.08.2006 20:03

Quote:

Originally Posted by MuNLoK
In my server this npc is moving correctly, it's related with SuperPoint.bin in geodata, you have this file correctly?

Maybe that is the problem, thanks MuNLoK, go to check that.

Sauron 13.08.2006 20:10

Quote:

Originally Posted by Zil
Hmmm....I have another version ;)

lol you dont have another version..

myself.sm+200 = myself.sm.name

Hidaru 13.08.2006 20:41

Quote:

Originally Posted by Charis
Quote:

Originally Posted by Hidaru
Some quests are working some dont. try mimirs quest at some point your stuck because a gem isnt dropping.

I've thought the same on other quest - but killing mobs for about two hours I've got first quest item (char lvl 70+, mobs - 39)

Chines random, like our players says...


I killed like over 500 chimera_pieces now still no drop so i think its broken.
I get the my_dying thing in npc when i kill those.

fcbinfo 19.08.2006 06:24

Quote:

Originally Posted by barabashka (Post 64567)
Ehhh, here it is. Say tnx to me:)

AI_FULLY_FIXED

For password PM me.



P.S. Need some cash:)

Give the pwd, your box to pm is full.

Thanks.

seraphii 21.08.2006 14:26

Anyboby have the passwordof AI, i send pm for barabashka an i have no aswer :(

athlon64 21.08.2006 19:49

http://rapidshare.de/files/29092754/ai.rar.html

THX

seraphii 21.08.2006 19:55

this is the AI full?

Valar77 21.08.2006 20:00

No

http://rapidshare.de/files/29092754/ai.rar.html

THX

seraphii 21.08.2006 20:02

why you share the same thing and don´t share the pass? anybody have this ai fixed or the password of AI, Barabashka can you share the password your private box is full :(

seraphii 21.08.2006 20:04

this guy have a fake user and flood with this things :(


All times are GMT. The time now is 15:01.