|
|
 |
 |
 |
 |
|
 |
 |
|
 |
 |
|
 |
|
Development::GeorgeS's Tools A forum just for GeorgeS's tools |

06-01-2007, 02:28 AM
|
Sarnak
|
|
Join Date: Apr 2003
Posts: 41
|
|
For the color decimal number,
I think the RGB is in hex that you have to convert to a decimal number like $ff ff ff
where red is 00-ff green 00-ff blue 00-ff which gives you 0-255 for red 0-255 for green 0-255 for blue
so all red would be "ff 00 00" converts to decimal value 16711680
all blue would be "00 00 ff" equals decimal value 255
|

06-01-2007, 04:17 AM
|
Demi-God
|
|
Join Date: May 2007
Posts: 1,032
|
|
oh here is a good tool - in npc editor include an option to find and show all unused npc IDs from range X to Y
also add a search by npc ID, cuase when NPC do not belong to a spawn table, and you do not remember its name- there is no way to find it.
and mayby even find and list all npcs who do not belong to any zone spawn tables
|
 |
|
 |

06-01-2007, 04:53 AM
|
Discordant
|
|
Join Date: Sep 2006
Location: Subsection 185.D354 C.12
Posts: 346
|
|
^-^ For Item Tint colors, I figure I should pass along what I've figured out.
The color numbers are huge, Heres why.
I don't suggest hex at all, unless you want to hex and then dehex the number. Instead use a function to break it down.
Here's what I used (Sort of, I'm retyping it from my memory)
Code:
Public Function ItemColor(ByVal Value as Long) as Color
Dim Alfa as Byte = Value / 16777216
Dim Red as Byte = (Value - (Byte1 * 16777216)) / 65536
Dim Green as Byte = (Value - (Byte1 * 16777216) - (Byte2 * 65536)) / 256
Dim Blue as Byte = (Value - (Byte1 * 16777216) - (Byte2 * 65536)) - (Byte3 *
Color = Color.FromArgb(Alfa , Red , Green , Blue )
End Function
Then to use it in say, a Label with a right click pop-up color dialog, set it like this (I'm typing this so expect mistakes in the syntax.)
Code:
Private Sub ClickEvent(stuff that gens here) Handles label1.click
lable1.backgroundcolor = ItemColor(reader.Getstring(#))
End Sub
reader is my SQL reader, The getstring is syntax and the # is the column it pulls the data from. You could replace it with any number that is a Long or smaller. If pulling from a TextBox, don't forget the Clng(TextBox.Text) or else it'll give you a convert error.
If you'd like, I could make a function that puts them back together, though it's easer to just make a one line multiplyer.
Code:
lngValue = lable1.backgroundcolor.color.A * 16777216 + lable1.backgroundcolor.color.R * 65536 + lable1.backgroundcolor.color.G * 256 + lable1.backgroundcolor.color.B
__________________
If at first you don't succeed destroy all evidence that you ever tried.
God doesn't give second chances... Hell, he sets you up the first time.
|
 |
|
 |

06-07-2007, 03:48 PM
|
Forum Guide
|
|
Join Date: Sep 2003
Location: California
Posts: 1,474
|
|
Added by Request -
NPC Editor Tool ver - 6.7.07.01
-Searches by npc_id are now possible.
- You can now find a range of unused npc_id's under Tools/ Find available npc_id's from Range.
GeorgeS
Color tool is being looked at
|

06-14-2007, 02:43 AM
|
Demi-God
|
|
Join Date: May 2007
Posts: 1,032
|
|
great work GeogreS , thanks =)
what do you think about taking on a Spell Editor?
I know there are atleast 2 spell editors around (one from Windcatcher, and one from some german person, I belive) but I bet you can do better =)
the german spell editor is far easier to work with that the one by Windcatcher (or atleast that what it seems to me), its far more polished in terms of GUI and lots of special fields are explained (and it got very powerful search!!), but it does have a tendency to crush a lot (usualy after copying/adding a spell)
|

07-21-2007, 10:47 PM
|
Fire Beetle
|
|
Join Date: Jul 2007
Posts: 2
|
|
Quote:
Originally Posted by GeorgeS
Added by Request -
NPC Editor Tool ver - 6.7.07.01
-Searches by npc_id are now possible.
- You can now find a range of unused npc_id's under Tools/ Find available npc_id's from Range.
GeorgeS
Color tool is being looked at
|
I just downloaded your item editor and found your other programs on your page. Just wanted to say THANK YOU from a newbie to the eqemu server admin.
Any idea why, after installing the eqitems AND ODBC drivers, I would get an error as follows:
Quote:
Run-time error '339':
Component 'MSCOMCTL.OCX' or one of its dependencies not correctly registered: a file is missing or invalid
|
I get your splash screen, but then after hitting "Let's Start" it produces the above error.
My db.ini is as follows:
Quote:
host=localhost
user=root
password={private}
database=ax_classic
everquest_folder=null
|
Thanks ahead of time.
Cheers,
jonogo
|

07-22-2007, 04:31 AM
|
Forum Guide
|
|
Join Date: Sep 2003
Location: California
Posts: 1,474
|
|
In Resources/ folder, run register_ocx.bat
This goes for all the tools - they use .dll's and .ocx and need to be registered.
A new version is coming soon that will enable one to equip Raid BOTS
GeorgeS
|

07-23-2007, 12:31 PM
|
Fire Beetle
|
|
Join Date: Jul 2007
Posts: 2
|
|
Quote:
Originally Posted by GeorgeS
In Resources/ folder, run register_ocx.bat
This goes for all the tools - they use .dll's and .ocx and need to be registered.
A new version is coming soon that will enable one to equip Raid BOTS
GeorgeS
|
Most Excellent! thanks a ton Geroge, and I look forward to future updates!!!
-jonogo
|

08-02-2007, 10:45 AM
|
Sarnak
|
|
Join Date: Jul 2007
Posts: 30
|
|
Working well, except:
1. When you hit the cancel button on the save profile dialog it does not cancel but actually saves the profile you use as an examples (I think its mage_default).
2. Minor issue - Mage_mid profile - I used this on a bot and one of the items in the profile shows up as a tent or a lean-to? It's funny, but probably should be fixed. Might be DB specific though, I am using PEQ.
Other then that seems to work great. Much faster to equip an army of bots using this.
|
Thread Tools |
|
Display Modes |
Hybrid Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -4. The time now is 03:03 AM.
|
|
 |
|
 |
|
|
|
 |
|
 |
|
 |