Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Windows Servers

Support::Windows Servers Support forum for Windows EQEMu users.

Reply
 
Thread Tools Display Modes
  #1  
Old 12-09-2014, 10:00 PM
Nibiuno
Hill Giant
 
Join Date: Mar 2010
Posts: 101
Default 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.
Reply With Quote
  #2  
Old 12-09-2014, 10:14 PM
zeldik's Avatar
zeldik
Sarnak
 
Join Date: Feb 2009
Location: London,Ky
Posts: 46
Default

Yeah id like to give my alts those PoTime BPs =)
Reply With Quote
  #3  
Old 12-09-2014, 10:26 PM
Uleat's Avatar
Uleat
Developer
 
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
Default

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.
__________________
Uleat of Bertoxxulous

Compilin' Dirty
Reply With Quote
  #4  
Old 12-09-2014, 11:45 PM
joligario's Avatar
joligario
Developer
 
Join Date: Mar 2003
Posts: 1,498
Default

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.

Last edited by joligario; 12-10-2014 at 01:52 AM..
Reply With Quote
  #5  
Old 12-10-2014, 12:18 AM
Uleat's Avatar
Uleat
Developer
 
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
Default

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

err, wait...
__________________
Uleat of Bertoxxulous

Compilin' Dirty
Reply With Quote
  #6  
Old 12-10-2014, 01:50 AM
joligario's Avatar
joligario
Developer
 
Join Date: Mar 2003
Posts: 1,498
Default

Haha! One might say, "You can't win the lottery if you don't play"...
Reply With Quote
  #7  
Old 12-10-2014, 09:13 AM
Nibiuno
Hill Giant
 
Join Date: Mar 2010
Posts: 101
Default

Quote:
Originally Posted by joligario View Post
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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 09:51 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3