EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Windows Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=587)
-   -   No Drop in Shared Bank (https://www.eqemulator.org/forums/showthread.php?t=39097)

Nibiuno 12-09-2014 10:00 PM

No Drop in Shared Bank
 
Has anyone set the shared bank up to accept no drop items?

I went through inventory.cpp and trading.cpp.

inventory.cpp has a no drop hack check, where i disabled the check on the shared bank slots.

Trading.cpp is a bit beyond me on the loops through trade slots, as Im not sure how to disable a check if the destination is a shared bank slot.

Anyone have any suggestions? Im running a solo/duo server, and would like to set powerful items to no drop, but still give people the option to twink their alts.

zeldik 12-09-2014 10:14 PM

Yeah id like to give my alts those PoTime BPs =)

Uleat 12-09-2014 10:26 PM

You should never encounter a situation where item movements go directly from a trade slot to a shared bank slot. All client-based
movements are either:

1) From: some slot - To: Cursor

or

2) From: Cursor - To: some slot

The only way that a direct movement can occur is if a script or custom code performs the movement..at which point the client is taken
out of the loop.

Accepted trade items go into the player's inventory..and never anywhere else.


If you are having issues with player's transferring items that you don't want transferred..you might look at the Item_Struct::NoTransfer field.

That should keep the client from allowing those items to be placed into the shared bank..though, I don't know offhand if the server can be tricked
into allowing it. I just haven't messed with it enough.


If the server IS NOT coded to block those, let me know and I'll push some code for it.

joligario 12-09-2014 11:45 PM

U: Don't get code-happy. They want to bypass restrictions on their personal server.

For the OP: I believe the client blocks no-drop going to shared bank, so you will need more than just server modification. Instead, maybe change from no drop? EDIT: Or, re-reading the last part of your post perhaps have a quest-based hand-in/retrieval NPC.

Uleat 12-10-2014 12:18 AM

I did miss that part..besides... If I'm not pushing code, then I can't wreak linux compiles!

err, wait...

joligario 12-10-2014 01:50 AM

Haha! One might say, "You can't win the lottery if you don't play"...

Nibiuno 12-10-2014 09:13 AM

Quote:

Originally Posted by joligario (Post 236070)
U: Don't get code-happy. They want to bypass restrictions on their personal server.

For the OP: I believe the client blocks no-drop going to shared bank, so you will need more than just server modification. Instead, maybe change from no drop? EDIT: Or, re-reading the last part of your post perhaps have a quest-based hand-in/retrieval NPC.

Right - I wanted to bypass the restriction. I saw that MQ could do it, and that there was code in place to look for items going direct from player inventory to a shared bank slot.

If it's a client limitation I guess Ill have to just use required levels on items to do most of what I want.

Thanks for the info.


All times are GMT -4. The time now is 01:52 PM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.