Go Back   RunUO - Ultima Online Emulation > RunUO > Core Modifications > Other

Other Cant find a category above, use this one! Core mods not listed above go here!

Reply
 
Thread Tools Display Modes
Old 01-24-2005, 12:34 PM   #1 (permalink)
 
Join Date: Jun 2004
Age: 22
Posts: 173
Default A core problem regarding NextActionMessage

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
Zero_X is offline   Reply With Quote
Old 01-24-2005, 12:35 PM   #2 (permalink)
 
Join Date: Oct 2002
Age: 23
Posts: 4,689
Default

go to item.cs and look at OnDoubleClick( Mobile from ) in the core... I believe its somewhere there..
XxSP1DERxX is offline   Reply With Quote
Old 01-24-2005, 12:37 PM   #3 (permalink)
 
Join Date: Jun 2004
Age: 22
Posts: 173
Default

Code:
		public virtual void OnDoubleClick( Mobile from )
		{
		}
Theres nothing there, so I can just make a function and set the delay to 0?

:O
Zero_X is offline   Reply With Quote
Old 01-24-2005, 12:58 PM   #4 (permalink)
 
Join Date: Oct 2002
Age: 23
Posts: 4,689
Default

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.
XxSP1DERxX is offline   Reply With Quote
Old 01-24-2005, 01:01 PM   #5 (permalink)
 
Join Date: Jun 2004
Age: 22
Posts: 173
Default

Yes that's the problem, in Mobile.cs it was easy to find, but in Item.cs I can't find anything that relates with staff nor delay with doubleclickign and the cliloc 500118 ( You must wait to perform )
Zero_X is offline   Reply With Quote
Old 01-24-2005, 01:03 PM   #6 (permalink)
 
Join Date: Oct 2002
Age: 23
Posts: 4,689
Default

I will be able to help you find it when I get home if you still have not found it by then.
XxSP1DERxX is offline   Reply With Quote
Old 01-24-2005, 01:20 PM   #7 (permalink)
 
Join Date: Jun 2004
Age: 22
Posts: 173
Default

Kool, thanks in advance.
Zero_X is offline   Reply With Quote
Old 01-24-2005, 02:07 PM   #8 (permalink)
Super Newb Moderator
 
Merlin*'s Avatar
 
Join Date: Jan 2004
Location: East Coast
Age: 34
Posts: 638
Default

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
Merlin* is offline   Reply With Quote
Old 01-24-2005, 04:48 PM   #9 (permalink)
 
Join Date: Feb 2003
Posts: 47
Default

Tryed to find it aswell but no luck huh weird
SlapHappy is offline   Reply With Quote
Old 01-25-2005, 10:13 AM   #10 (permalink)
 
Join Date: Oct 2002
Age: 23
Posts: 4,689
Default

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
XxSP1DERxX is offline   Reply With Quote
Old 01-26-2005, 05:13 AM   #11 (permalink)
 
Join Date: Jun 2004
Age: 22
Posts: 173
Default

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.
Zero_X is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5