Everything posted by LMS
-
Lcpdfr Error loading LCPDFR_Loader.Loader
As you can see, it can't load the DLL file because of missing permissions. This is most likely a local permissions issue. Try granting access to the DLL file from the Properties dialog and see if you can install GTA IV in another directory (and best to another drive, like "D", as Windows likes to block access on C).
-
Lcpdfr just won't work, no matter what i do.
You are most likely missing a redist. Make sure you use Vista or above and have the following installed correctly: http://www.microsoft.com/en-us/download/details.aspx?id=30679 (x86 version). If that still doesn't work, download Dependency Walker, open "AdvancedHook.dll" using it, save as .dwi file and upload file somewhere and post link here.
-
Lcpdfr Error loading LCPDFR_Loader.Loader
Then scroll up in the text you took a screenshot of (use PageUp) so we can see the full error.
-
Lcpdfr just won't work, no matter what i do.
Just like you dealt with LCPDFR.log, please attach the ScriptHookDotNet.log.
-
Lcpdfr Error loading LCPDFR_Loader.Loader
Attach ScriptHookDotNet.log please.
-
Small programming questions - API
Yes, you have to call ScriptManager.Process from your main tick. This will then tick all scripts registered to that certain manager that have ProcessInScriptManager set to true. But there is nothing that automatically calls ScriptManager.Process only because you created an instance. This is to allow you to control when you want your scripts to be processed. Those scripts that don't have it set, will require an individual call to Process, like script.Process(). This is for cases where you have to make sure scripts are executed in a certain order or you don't want certain scripts to be executed every tick but only under certain circumstances.
-
Small programming questions - API
Hey, I just had a look into the audio issue. The function PlaySound would call internally was limited to one action, I modified it to split sounds by " " so you should be able to play more than one sound in the next release.
-
Front indicators on at night
AdvancedHook exposes functionality for individual lights (Indicator script uses it too), if someone wants to take advantage of it, PM for usage permissions.
-
LCPDFR Desktop Icon for GTA IV?
If you want, you can use the icon the installer uses for your desktop shortcut.
-
Small programming questions - API
1.) Yeah the issue is as I had suspected, you pass Keys.Alt which is no real key. As the description says, it's the modifier key Menu. The LCPDFR key check implementation only supports real keys. 2.) Interesting, I think I saw that before. Looks like it changes the collection in the callback and it doesn't like that. Will have a look.
-
Small programming questions - API
1.) What did you pass to the function? Note that passing Keys.Menu might cause problems as it is not a real key. Use either LMenu or RMenu instead. 2.) They vary internally a little because the position one is more dynamic, such a behavior should not occur though. I'll try to reproduce it on my end.
-
[NOT VICTORY] Count To 20 Before A Moderator Or Developer Posts
count = 0;
-
ELS V8.0: Advancedhook Error C000005
None of the logs show any reason why the game is crashing, so it's probably the game itself faulting. This might be due to lack of resources (your hardware is a little outdated) but can also always be just due to bad optimization of IV. As for error C000005 you mentioned in the title, that's the most generic error an application on windows can provide: An attempt to read or write memory failed. It's not an AdvancedHook issue or anything because it might appear in its logfile, it just logs down all game errors. So all I can suggest is lowering settings/uinstalling mods and/or upgrading hardware.
-
LCPDFR Sprachen Addon
Ja, das war allerdings zu 0.95 Zeiten (gab sogar eine bayrische Version, wenn ich mich recht erinnere) und auf der alten Engine. Davon ist nichts mehr übrig in 1.0 und alles muss dafür angepasst werden.
-
LCPDFR Sprachen Addon
Wäre mir neu, dass ich nicht deutsch bin :P Wie bereits gesagt wurde, es gibt die Bestrebung es zu übersetzen, bzw. auch die ersten internen Tests, aber wann genau das veröffentlich wird, kann ich nicht sagen.
-
Net Framework issue
Did you try this http://www.microsoft.com/en-us/download/details.aspx?id=25150 one?
-
Net Framework issue
Only because you have installed 4.5 it doesn't automatically get you 3.5. You will have to install it separately as the program seems to explicitly require that version.
-
LCPDFR Loader.Loader & No ELS!
Thanks, that's the correct output. Please try installing this: http://www.microsoft.com/en-us/download/details.aspx?id=30679 If issue persists, please let me know.
-
LCPDFR Loader.Loader & No ELS!
From the log I can see LCPDFR used to load just fine. So the questions is, did you remove any redists that AdvancedHook depends on (in particular the v110 redist)? Run Dependency Walker (x86) on AdvancedHook.dll and either attach the output (Save as *.dwi) here or try to fix the issues on your own (if you have experience with PCs).
-
Searching for a new PC
To add to that, the stock cooler of the 4790K is pretty good.
-
General Coding Thread
As far as I know, ILSpy lacks support for Add-ins like Reflexil or Codesearch, which makes it pretty useless for more advanced tasks.
-
General Coding Thread
As for IDE, on Windows Visual Studio is the way to go. With some plugins to improve IntelliSense like ReSharper (especially to enhance C# experience, though some people might dislike the JetBrains look) and/or Visual Assist (especially for C++), and for instance VisualSVN for source control, there aren't many things you can't do. Considering getting .NET Reflector if you plan to do .NET RE is a good idea too. For general PE file analysis, IDA (with Hex-Rays and ClassInformer), OllyDbg, CE, ReClass and an up-to-date PEiD is a set up hard to fool. Plus tools like Scylla and/or ImpREC for rebuilding PEs in case of packed targerts and you should be able to handle most, if not all, PE files out there. Just in case someone wanted to know :P @iiKonrad: If you know C# already, Java is an even greater waste of time as it would have been either way.
-
Small programming questions - API
No problem, great to hear it works now.
-
Small programming questions - API
Normally after you have freed a resource, you set the pointer to null. So in your case after the first call to arrow.Delete you'd do this.arrow = null;, to know it has been freed and to get NullReferenceExceptions if you use it again, so you can verify your code. This should automatically solve your problem.
-
Small programming questions - API
Hm all it does in Delete is deleting the internal reference, not sure that could become null. Are there any additional information, like the exception message and/or the stack trace? For now, though being a dirty solution, you can wrap it into a try...catch block.