Decal Development Forums Forum Index Decal Development Forums
www.decaldev.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Tip of the Day/Week/Whatever

 
Post new topic   Reply to topic    Decal Development Forums Forum Index -> Decal Development
View previous topic :: View next topic  
Author Message
Hazridi
Teh Decal L33T!
Teh Decal L33T!


Joined: 19 Apr 2002
Posts: 1204

PostPosted: Thu May 04, 2006 8:27 am    Post subject: Tip of the Day/Week/Whatever Reply with quote

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
View user's profile Send private message Send e-mail
Hazridi
Teh Decal L33T!
Teh Decal L33T!


Joined: 19 Apr 2002
Posts: 1204

PostPosted: Thu May 04, 2006 8:28 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Flipo



Joined: 01 Feb 2004
Posts: 64

PostPosted: Thu May 04, 2006 10:00 am    Post subject: Reply with quote

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.
Rolling Eyes
Back to top
View user's profile Send private message
Pip



Joined: 03 Sep 2003
Posts: 268

PostPosted: Thu May 04, 2006 5:37 pm    Post subject: Reply with quote

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 Sad
Back to top
View user's profile Send private message
Hazridi
Teh Decal L33T!
Teh Decal L33T!


Joined: 19 Apr 2002
Posts: 1204

PostPosted: Fri May 05, 2006 6:13 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
paradox
Teh Decal L33T!
Teh Decal L33T!


Joined: 19 Apr 2002
Posts: 333

PostPosted: Tue Aug 08, 2006 4:10 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Gouru
Teh Decal L33T!
Teh Decal L33T!


Joined: 19 Apr 2002
Posts: 507

PostPosted: Tue Aug 08, 2006 8:11 pm    Post subject: Reply with quote

Do you need a Form to use that timer?
_________________
Gouru
"Let Memory Loss Be Your Strength"
Back to top
View user's profile Send private message
Drakier
Teh Decal L33T!
Teh Decal L33T!


Joined: 25 Aug 2005
Posts: 707
Location: Lone Tree, CO

PostPosted: Tue Aug 08, 2006 9:47 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Gouru
Teh Decal L33T!
Teh Decal L33T!


Joined: 19 Apr 2002
Posts: 507

PostPosted: Wed Aug 09, 2006 12:32 pm    Post subject: Reply with quote

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
View user's profile Send private message
losado



Joined: 29 Aug 2005
Posts: 12
Location: Netherlands

PostPosted: Sat Sep 09, 2006 2:20 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Decal Development Forums Forum Index -> Decal Development All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group