|
||
|
|||||||
| Other Cant find a category above, use this one! Core mods not listed above go here! |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Join Date: Jun 2004
Age: 22
Posts: 173
|
Heres the deal, I'm changing the delay on the actions of a playermobile. The doubleclicking of the person. I already found and succesfulyl compiled the lifting, so that theres not delay in that anymore, but I do not want that, I just want the doubleclicking changed to no delay. The problem however... I don't know where to find it... I tried looking in Mobile.CS and Item.cs (both in core) PlayerMobile.cs, not there either, so does anyone know where it is located?
![]() Err btw, with my core mod, theres no delay in lifting, but stlll for DoubleClicking, so it could be useful if someone could tell me where the DoubleClick delay is ![]() |
|
|
|
|
|
#4 (permalink) |
|
Join Date: Oct 2002
Age: 23
Posts: 4,689
|
Sorry I am not at home to help you look for this.. I know there is a GameMaster check in there as well as Staff are not bound by this. Check the documentation for methods that start with "Can" in the Mobile class, and see what you can find in the core.
|
|
|
|
|
|
#8 (permalink) |
|
Super Newb Moderator
Join Date: Jan 2004
Location: East Coast
Age: 34
Posts: 638
|
Thread moved to Correct forum.
If you have a post that is not directly releated to the topic of this thread please delete or edit it out. And if you must say something do so in private!
__________________
Merlin Forum Moderator The RunUO.com Forum Moderator Team DON'T PANIC Forum Rules Forum Rules And Guidelines |
|
|
|
|
|
#10 (permalink) |
|
Join Date: Oct 2002
Age: 23
Posts: 4,689
|
There are two places where this is done.
Mobile.cs in the function lift. The next is in PacketHandlers.cs in a method called UseReq (Use Request) at the bottom. in both instances i am talking about a method called SendActionMessage(), which is virtual, so you can override it in PlayerMobile (therefore you don't even need to modify the core). I hope this helps. I found this by doing a search for this "You must wait" which yielded SendLocalizedMessage( 500119 ); // You must wait to perform another action. Thank god for great annotation. And btw, you were off by 1 on the cliloc ![]() |
|
|
|
|
|
#11 (permalink) |
|
Join Date: Jun 2004
Age: 22
Posts: 173
|
A kool thanks alot, I tried the searching through .cs files, but I couldn't get it working since I got a dutch version, and heck I wtfed my Windows while trying to edit the reg...
![]() The cores source is very interesting... Again thanks. |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|