[Relz] OBSE Plugin - MenuQue

Post » Tue May 03, 2011 8:32 am

Ok, I take it then that you're also using GetGenericButtonPressed?


Indeed.

Holy mojo, that's pretty huge! Then again, Windows isn't exactly known for its program size accuracy...


I recovered it with Disk Cleanup, and I went from 1.53gb to 2.5gb, so yeah, probably not accurate..

-------------

Edit: Would missing traits cause any issues. Like etc,.. ?

Cus, I'm probably missing some, I only added the bare essentials to make the menu's work, and if you're update made MenuQue more, accurate, or some such about what it needs, then.. Perhaps thats the problem..
User avatar
ShOrty
 
Posts: 3392
Joined: Sun Jul 02, 2006 8:15 pm

Post » Tue May 03, 2011 5:36 am

I'm kinda getting confused so I wanna make sure I got everything: :blush:
* You've been getting random crashes with opening menus and/or clicking elements
* It started after you tried to use a &TileSystem;
* The problem remains even after restoring the old menus (this one I'm not sure if I got it right).
User avatar
marina
 
Posts: 3401
Joined: Tue Mar 13, 2007 10:02 pm

Post » Tue May 03, 2011 8:14 am

I'm kinda getting confused so I wanna make sure I got everything: :blush:


Me too, don't feel bad, for instance, it's saying 699 strings or some such, yet, I just checked, every single function in my mod calls sv_Destruct, on every single string I create and use.. ????

* You've been getting random crashes with opening menus and/or clicking elements


Correct. My menus open other custom menu's, in fact, all my menus are custom now.

* It started after you tried to use a &TileSystem;


No, that just didn't work. It started after installing MenuQue v8.0a

* The problem remains even after restoring the old menus (this one I'm not sure if I got it right).


Yes, though I believe reverting to MenuQue v7 would fix this.
User avatar
Tiffany Castillo
 
Posts: 3429
Joined: Mon Oct 22, 2007 7:09 am

Post » Mon May 02, 2011 9:09 pm

No, that just didn't work. It started after installing MenuQue v8.0a
Ahhhh, ok. And I take it you are not using the 'OBSE v19 version'. And if you are, could you try the regular version?

Yes, though I believe reverting to MenuQue v7 would fix this.
Could you verify this just to be sure?
User avatar
meghan lock
 
Posts: 3451
Joined: Thu Jan 11, 2007 10:26 pm

Post » Mon May 02, 2011 6:46 pm

Ahhhh, ok. And I take it you are not using the 'OBSE v19 version'. And if you are, could you try the regular version?


I'm using OBSE v20 Beta 5 with MenuQue v8.0a (Regular)

Could you verify this just to be sure?


Yes, give me just a moment, I want to recompile all the scripts under MenuQue v7, to ensure there are no straggling issues.

Edit: It works fine under MenuQue v7, all my menu's function, there were no crashes, it did what I told it to do, etc,.
User avatar
Mel E
 
Posts: 3354
Joined: Mon Apr 09, 2007 11:23 pm

Post » Mon May 02, 2011 10:28 pm

Edit: It works fine under MenuQue v7, all my menu's function, there were no crashes, it did what I told it to do, etc,.
Hmm ok, so the problem lies either somewhere in the new hooks I introduced or in the existing hooks I rewrote. Here's a http://dl.dropbox.com/u/16544701/Oblivion/OBSE_Kyoma_MenuQue_debug.dll with some of the new stuff disabled. No need to recompile the scripts as there weren't any real changes to functions. On one hand I'm hoping this doesn't crash as it involves a rather large part of code. On the other hand it would also be a clear cause and avoids needing to dig around.
User avatar
Angela Woods
 
Posts: 3336
Joined: Fri Feb 09, 2007 2:15 pm

Post » Mon May 02, 2011 9:19 pm

Hmm ok, so the problem lies either somewhere in the new hooks I introduced or in the existing hooks I rewrote. Here's a http://dl.dropbox.com/u/16544701/Oblivion/OBSE_Kyoma_MenuQue_debug.dll with some of the new stuff disabled. No need to recompile the scripts as there weren't any real changes to functions. On one hand I'm hoping this doesn't crash as it involves a rather large part of code. On the other hand it would also be a clear cause and avoids needing to dig around.


Should I rename that? Or is it good to go?
User avatar
James Rhead
 
Posts: 3474
Joined: Sat Jul 14, 2007 7:32 am

Post » Tue May 03, 2011 5:23 am

Should I rename that? Or is it good to go?
It doesn't have to be renamed but the existing one will obviously need to be moved or removed. The name of plugin dlls is irrelevant to the game.
User avatar
victoria gillis
 
Posts: 3329
Joined: Wed Jan 10, 2007 7:50 pm

Post » Mon May 02, 2011 7:03 pm

It doesn't have to be renamed but the existing one will obviously need to be moved or removed. The name of plugin dlls is irrelevant to the game.


Ok, well the results aren't good, it didn't crash, but it was also opening wrong menu's, getting stuck, ie, I selected recycle, it cloned, then the next try, it did recycle, however, it skipped my main menu entirely, jumping directly to the recycle menu, which is impossible normally.

About the same as the other version, minus the crashes. (Not to say it wouldn't if I kept messing around enough.)

---

Get my mod off the Nexus, the current release is n early identical to this version. See for yourself, make sure it's not a problem in my code(XML) or whatever.. (There are only three XML files..)

http://www.tesnexus.com/downloads/file.php?id=15587
User avatar
claire ley
 
Posts: 3454
Joined: Fri Aug 04, 2006 7:48 pm

Post » Mon May 02, 2011 9:03 pm

Ok, well the results aren't good, it didn't crash, but it was also opening wrong menu's, getting stuck, ie, I selected recycle, it cloned, then the next try, it did recycle, however, it skipped my main menu entirely, jumping directly to the recycle menu, which is impossible normally.

About the same as the other version, minus the crashes. (Not to say it wouldn't if I kept messing around enough.)
Not exactly good, indeed. It seems my debugging approach wasn't as simple as I thought it was.

Get my mod off the Nexus, the current release is nearly identical to this version. See for yourself, make sure it's not a problem in my code(XML) or whatever.
Was just about to ask for the mod. I really hope I get the crashes too, really, really. :)
User avatar
Stace
 
Posts: 3455
Joined: Sun Jun 18, 2006 2:52 pm

Post » Tue May 03, 2011 12:28 am

Not exactly good, indeed. It seems my debugging approach wasn't as simple as I thought it was.


Yeah, it rarely is, I've done a bit of that myself, I got lost trying to decode the stacks, mainly trying to figure out what a function I was hooking was passing me(It said it was a DWORD.).. (ie, decoding the data structure, or whatever.. I did manage to hook one function in GTA2, for when you kill peds, I hooked the money function.. Had it gving me 10x the normal amount, via Detours v2.1 and C++ ,...)

Spoiler

#include "MoneyHook.h"// Pointer: AddMoney Function (.exe)AddMoney Real_AddMoney = (AddMoney)(0x0044B2C0);// Hooked AddMoney FunctionULONG __stdcall Hook_AddMoney(ULONG amount){   return Real_AddMoney(amount * 10);}DetourFunc MoneyHookFunc("AddMoney",&(PVOID&)Real_AddMoney,(PVOID)Hook_AddMoney);void MoneyHook_Hook(){   MoneyHookFunc.Hook();}void MoneyHook_Unhook(){   MoneyHookFunc.Unhook();}



I was creating the "Fable Hotkey Trainer" and wanted to do it as a hook, and ended up just memory editing instead.. (Looking back, I think it was a pointer to an array, the DWORD..)

Was just about to ask for the mod. I really hope I get the crashes too, really, really. :)


You don't hear that everyday.

---

Edit: So any word yet, is it my fault, or is something really going on?
User avatar
Chris Jones
 
Posts: 3435
Joined: Wed May 09, 2007 3:11 am

Post » Tue May 03, 2011 2:40 am

Edit: So any word yet, is it my fault, or is something really going on?
Well the whole GetGenericButtonPressed code was a bit funky, which is my fault. Here's http://dl.dropbox.com/u/16544701/Oblivion/OBSE_Kyoma_MenuQue.dll that should work properly. I haven't looked at the crashes yet but that code is still disabled so it shouldn't cause any problems.
User avatar
Anna Watts
 
Posts: 3476
Joined: Sat Jun 17, 2006 8:31 pm

Post » Tue May 03, 2011 9:24 am

Well the whole GetGenericButtonPressed code was a bit funky, which is my fault. Here's http://dl.dropbox.com/u/16544701/Oblivion/OBSE_Kyoma_MenuQue.dll that should work properly. I haven't looked at the crashes yet but that code is still disabled so it shouldn't cause any problems.


Much better, everything functioned as it was supposed to. :)

Will mouse dragging work in this version? Or is that part of the disabled code?
User avatar
Big mike
 
Posts: 3423
Joined: Fri Sep 21, 2007 6:38 pm

Post » Tue May 03, 2011 1:23 am

Much better, everything functioned as it was supposed to. :)

Will mouse dragging work in this version? Or is that part of the disabled code?
No that code is disabled.
User avatar
Elle H
 
Posts: 3407
Joined: Sun Aug 06, 2006 3:15 am

Post » Tue May 03, 2011 1:00 am

No that code is disabled.


Alright, just wanted to know before I bothered reimplementing it. :)

Anyways, if you need any more help(not that I'm much), I'll be glad to be of assistance, with testing or whatever.. I'm working actively with MenuQue anyways, so it's not really much trouble to stick WIP versions in there and try em' out for ya.. (Though, I'm about to be heading to bed, so it will have to be tomorrow, just PM me, or whatever to get my attention if you need anything.)
User avatar
kat no x
 
Posts: 3247
Joined: Mon Apr 16, 2007 5:39 pm

Post » Tue May 03, 2011 5:41 am

In case already reported, please ignore.

I am using MenuQue v8a - Dynamic Map does not work correctly anymore. Am reverting to v 7 for the time-being.
User avatar
Nikki Morse
 
Posts: 3494
Joined: Fri Aug 25, 2006 12:08 pm

Post » Tue May 03, 2011 4:28 am

In case already reported, please ignore.

I am using MenuQue v8a - Dynamic Map does not work correctly anymore. Am reverting to v 7 for the time-being.
If you aren't using OBSE v20 beta then you should use the 'OBSE v19' version of MenuQue v8a (it is under the "Optional" section on the Nexus page). Dynamic Map seems to work on my end with MenuQue v8a (either version).

EDIT: Oh wait, it doesn't work inside cities. I think I know what's causing it so I'll fix it later today.

MenuQue v9 released! http://www.gamesas.com/index.php?/topic/1172562-obse-plugin-menuque-thread-2/
A moderator can close this thread. :)
User avatar
Ridhwan Hemsome
 
Posts: 3501
Joined: Sun May 06, 2007 2:13 pm

Previous

Return to IV - Oblivion