| View previous topic :: View next topic |
| Author |
Message |
Hazridi Teh Decal L33T!


Joined: 19 Apr 2002 Posts: 1204
|
Posted: Thu May 04, 2006 8:27 am Post subject: Tip of the Day/Week/Whatever |
|
|
I figure I'll start a thread in which people can add Decal Development tips once in a while.
Here is today's:
Decal has a plugin container. You can get it at http://discord.anarchs.com/DecalContainer.exe, and it gives you an environment in which you have a GUI and click events work fine. There are more things it can do as well, which I will go over in tomorrow's tip. _________________ This is chemical burn.
Last edited by Hazridi on Thu May 04, 2006 8:29 am; edited 1 time in total |
|
| Back to top |
|
 |
Hazridi Teh Decal L33T!


Joined: 19 Apr 2002 Posts: 1204
|
Posted: Thu May 04, 2006 8:28 am Post subject: |
|
|
Note that anyone is free to add tips here whenever they want. If the discussion gets too chatty I'll spin off a discussion thread for it and keep just the tips here. _________________ This is chemical burn. |
|
| Back to top |
|
 |
Flipo
Joined: 01 Feb 2004 Posts: 64
|
Posted: Thu May 04, 2006 10:00 am Post subject: |
|
|
First Tip: d/l DecalContainer.exe and put into your Program Files\Decal 3.0.
Wonder if i can convince anyone that I have really bad lag with this..
Gonna be hard to work the V off this toon.
 |
|
| Back to top |
|
 |
Pip
Joined: 03 Sep 2003 Posts: 268
|
Posted: Thu May 04, 2006 5:37 pm Post subject: |
|
|
This was compiled on a very new version of DirectX.
The last RELEASED version of Decal checks for
D3DX Libraries (Only d3dx9_27 is required)
[d3dx9_24.dll] : Installed (9.5.132.0)
[d3dx9_25.dll] : Installed (9.6.168.0)
[d3dx9_26.dll] : Installed (9.7.239.0)
[d3dx9_27.dll] : Installed (9.8.299.0)
DecalContainer.exe needs d3dx9_30.dll to run
Worked fine once I got updated.
I wish I would of had this years ago  |
|
| Back to top |
|
 |
Hazridi Teh Decal L33T!


Joined: 19 Apr 2002 Posts: 1204
|
Posted: Fri May 05, 2006 6:13 am Post subject: |
|
|
It will be an optionally installed component in the next Release build.
If you place a DWORD registry value in HKLM\Software\Decal called "PacketDump" and set it to a value > 0, Decal will log all your packets into a folder called PacketDump and make a log file that links them all together.
If you press F1 or F2 in DecalContainer an open file dialog pops up and you can select a .log file made by Decal and it will play these packets back through Decal. With F1, the packets are played back with the time data intact (IE, if you open a trade window 10 seconds after logging in, the data will be received 10 seconds after selecting the log file). With F2, the packet stream is fed much faster, so it takes about 1 second to play about 200 packets. _________________ This is chemical burn. |
|
| Back to top |
|
 |
paradox Teh Decal L33T!

Joined: 19 Apr 2002 Posts: 333
|
Posted: Tue Aug 08, 2006 4:10 pm Post subject: |
|
|
Since it's come up a few times, System.Timers.Timer is the devil!!! Use System.Windows.Forms.Timer instead. _________________ Node ** ppHead = &You; |
|
| Back to top |
|
 |
Gouru Teh Decal L33T!

Joined: 19 Apr 2002 Posts: 507
|
Posted: Tue Aug 08, 2006 8:11 pm Post subject: |
|
|
Do you need a Form to use that timer? _________________ Gouru
"Let Memory Loss Be Your Strength" |
|
| Back to top |
|
 |
Drakier Teh Decal L33T!


Joined: 25 Aug 2005 Posts: 707 Location: Lone Tree, CO
|
Posted: Tue Aug 08, 2006 9:47 pm Post subject: |
|
|
no.. you can use the class without ever creating the actual visible element, unlike VB6.
just create an instance of the object, and sink the proper event of the object... then it just works. _________________ "this one time... at code camp.. I forked a tree!"
The c++ compiler is a mysterious and powerful device whose mystery is only exceeded by it's power.
-Drakier Dominaeus
~Ð~ |
|
| Back to top |
|
 |
Gouru Teh Decal L33T!

Joined: 19 Apr 2002 Posts: 507
|
Posted: Wed Aug 09, 2006 12:32 pm Post subject: |
|
|
Thats probly easier than what i'm currently doing, creating a system timer that sets a global flag, and checking the value of that flag everytime a new message comes in.... _________________ Gouru
"Let Memory Loss Be Your Strength" |
|
| Back to top |
|
 |
losado
Joined: 29 Aug 2005 Posts: 12 Location: Netherlands
|
Posted: Sat Sep 09, 2006 2:20 am Post subject: |
|
|
Don't assume that in event shutdown/terminate all your variables are initialized
and needs to clean up or unsubscribe from events.
When you log on to fast, initialized is called then shutdown directly after it
and of course login completed is never reached.. |
|
| Back to top |
|
 |
|