PenUltima Online Forum Index Official Core: 096.7
Official Core: 097 2008-02-26
Donate towards the POL web hosting bill!
 POL Home   FAQ   Search    Memberlist   Usergroups    Register    Profile   Log in to check your private messages   Log in
Packethook to check for stacking on server side

 
Post new topic   Reply to topic    PenUltima Online Forum Index -> Custom Script Releases
Display posts from previous:   

Author Message
CWO



Joined: 04 Feb 2006
Posts: 699
Location: Chicago, IL USA

PostPosted: Thu Feb 28, 2008 4:07 am    Post subject: Packethook to check for stacking on server side Reply with quote

It seems that POL will allow absolutely any item to be stacked as long as the client tiledata.mul says it can (note I said CLIENT, not server). This is a simple packethook that uses the entry Stackable 1 in tiles.cfg generated by uoconvert to check if stacking is allowed or not on the server side. This will allow you to reject stacking for items that could usually be stackable by changing just one entry in tiles.cfg on the server side for that item and it will also prevent players from being able to change their tiledata.mul to be able to stack whatever they please. Although note, this will not affect any existing stacks. This won't automatically break them up nor will it break the ability to be able to split them up. This packet will simply stop them from being able to create new stacks from previous individuals and stop them from adding to existing stacks.


droppacket.zip
 Description:

Download
 Filename:  droppacket.zip
 Filesize:  1.06 KB
 Downloaded:  28 Time(s)


Post new topic   Reply to topic    PenUltima Online Forum Index -> Custom Script Releases All times are GMT - 4 Hours
Page 1 of 1

 




Powered by phpBB © 2001, 2005 phpBB Group :: Theme & Graphics by GHS & Scott E. Royalty