Jump to content
  • 0

Questions about drop quest Chance!


lordvenancio

Question

Quest: relics of the old empire I would change the chance to drop item: Broken Relic Part ! I kill 3 monsters to get 1 item! would like it to be 100%.

 

I see ai.obj but I do not know the line!

 

Thx for help !!

Link to comment
Share on other sites

Recommended Posts

  • 0

Just like the GiveItem1 func will be called on each mob - at a certain point in the code.

 

Further up that chain will always be a RAND call that determine wether or not the player gets lucky.

 

In this instance, rolling a 100 dice  and if less than 10 = success.

All checks for quest\item requirements are usually done before.

 

 

L41660
push_event	//  gg
push_const 632
add
fetch_i
push_const 100
func_call 218169344	//  func[Rand]
shift_sp -1
push_const 10
less
branch_false L41663

Link to comment
Share on other sites

  • 0

That's just retarded sighed.

 

Of course he can change the drop chance - find the rand call and change the max vars and cmp to match your percentage.

It's just really really annoying when each quest has 3 to 10 mobs - and takes time.

 

 

 

Secondly - there's no way to do it by ext unless i've completely lost it.

 

AI Code does not differentiate from givingitems by quest, by newbie, or anything else.

If you change am-beep-t by direct function calls (l2npc or l2server) everything would be changed.

 

Same for trying to hook the AI engine or changing the RAND func in l2npc.

Well, i never used that function, maybe cause its pain in the ass, and i don't think ALL the NPC's use it. So in most cases isn't search and replace, but rewrite the AI, FOR EXAMPLE of quests like "A Game Of Cards" or "Seductive Whispers" changing those... How many ? 30 NPC's maybe ? Its a pain in the ass. And i highly doubt that he will do it.

Link to comment
Share on other sites

  • 0

Well, i never used that function, maybe cause its pain in the ass, and i don't think ALL the NPC's use it. So in most cases isn't search and replace, but rewrite the AI, FOR EXAMPLE of quests like "A Game Of Cards" or "Seductive Whispers" changing those... How many ? 30 NPC's maybe ? Its a pain in the ass. And i highly doubt that he will do it.

 

 

No one said it makes any sense for any logical individual - but possible it is :P

Link to comment
Share on other sites

  • 0

Of course I will change I am already changing all the quest! Only needed to change the chance!

 

I go test ! Thx mcbig !!

 

Thx i set for 100% ;D ! Thx man for help ! Close Topic !

Link to comment
Share on other sites

  • 0

 

No one said it makes any sense for any logical individual - but possible it is :P

The point is this rand function doesn't exist in most NPC AI's, thats why i pointed to an extender, less headaches. And he uses a paid extender so asking for some kind of feature shouldn't be hard for him.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


  • Posts

    • not just a waste of time ..even waste of money ...  
    • Heya! I was looking for someone who can provide me with any solution for FPS increase on Interlude Client. I was interested in a working Clear Cache button and/or any patch that will increase the FPS of each player. Playing on Interlude for many years now, I can understand that a crowded place will drop your FPS by a lot which is making the game unplayable and unenjoyable. For example, Baium Epic Boss always had issues (not only) with FPS drops sometimes players are playing with pixels (images). If anyone has the expertise and knowledge about those things I would like him to contact me via Discord xthedarknessfear so we can discuss further because I obviously have some questions about Client Modification and how it's done. Will not answer anything here, hit me up on disc and let's discuss it! P.S: I'm also looking for a custom simple interface (small edits). If you can do both, you are my guy! Cheers!
    • //request   Can anyone rework this for aCis 401? personally, one of the best features to have in a L2 server.
    • i have this feature: https://prnt.sc/rD9BYOi7QPB6 there is edited interface and one dll to make it working.
    • Whatever @Tryskell said...   Unfortunately it is not 2005-2010 anymore... Most of the community from those days is "grown up" and probably does not play games anymore (or at least no MMOs). I think anything related to MMOs will be a nail in the coffin.   I understand that it is hard to let the thing you've built for years to "just die". I assume most people got into programming, so maybe you can try something in that direction. But then again, this is a very niche community.   We need to think of something to bring the people together. I think events may be really fun, but then you would probably need to add prizes n order for the people to participate.   So yea, just my 2 cents. Hopefully somebody can come up with some great idea so we can revive this place. I've already forgotten it for the last couple (5-6) years...
  • Topics

×
×
  • Create New...