View Full Version : creating new mods?
Kalkel
05-03-2007, 12:27 PM
Hi there,
would the following mod be possible. our guild is a trade & raid guild. we take orders for potions, trade goods, etc from our site, i would like to be able to have a mod that periodically checks the sites db for new orders and displays them somehow ingame. So that we don´t have to keep loggin in and out.
Also i want different guild members to be able to download the mod and fill orders, so i´d like to be able to keep track of who does what orders and assign guild points for each order, etc. and also be able to assign guild points for raids, etc.
Is this possible if so how, can someone do it for us or get us started with some help? :)
Cheers.
Kelkel
Tunga
05-03-2007, 02:26 PM
That would be possible but it's a very big project and very specific. I doubt you'll find anyone willing to make it for you considering it would probably only ever be used by your guild.
As a rough guide you'd want an SQL/PHP (or similar) web service with a standalone EXE written in a language of your choice (Java, VB, C#, whatever) to upload/download details between your savedvariables file and the server. Then an ingame mod would be needed to read its savedvariables and display that data in game. I'm willing to bet you'd need to pay someone to make this.
Kalkel
05-03-2007, 11:07 PM
Thanks for your reply, it was curiosity more than anything, i´m a php, mysql programmer, but i thought and am now sure after reading your post that this is a little out of my league. :)
Thanks.
Rowaa
06-03-2007, 11:36 AM
Note that such communication would require you to exit WoW, run your export application and then run WoW again, since saved variables are only read on startup. (Just logging out to character selection screen would probably suffice too, but I can't check it right now.)
Sherkhan
06-03-2007, 03:51 PM
Yes, logging to character selection or a Reload UI does work as well for reading in new values.
Rowaa
07-03-2007, 08:44 AM
ReloaadUI works for reading? Variables are written back to files on ReloadUI. If it reads them back from files again, you'll have pretty small time frame between write and read to fit swapping your data in.
Sherkhan
07-03-2007, 03:50 PM
Well, it will not work if you have an outside exe modifying the SavedVariables. But, most addons that I have seen which use outside data transfer it into a specific file as part of the addon (ie: A .lua file in the addon directory) and not into the saved variables.
So, basically upload the new data into that file, then reloadui. That is how I have seen them done.
kingnothingwow
15-03-2007, 11:08 AM
Ok you can do this. :shocked:
1. Build a application in VB C++ etc. to download the db files from then have it build it into a text file.
2. Download Notepad add-on.
3. In your application have your app write a text file to the notepad path
4. Make a add-on that just does a simple display that new Guild information has arrived.
5. Make your application hook into the keyboard.
make options in it so each user can select what hotkey combination they want to use.
6. Make a Macro and drop it into the toolbar slot that matches the hotkey command.
When you get new information the application will press ex: ctrl+1+2 for you and tell you it's updated.
7. Open the Notepad add-on in wow and read.:grin:
I made a Voice controled application becuase I hate toolbars so I say and it fires the keys for me as well as runs all my macros. took me about 3 days to build it. and my voice commands appear in a add-on that looks like a clock add-on so I know everything is working right.
What you want to do is advanced. but if can be done
Tunga
15-03-2007, 12:30 PM
If I understood that correctly, it's worth noting that firing keyboard events from an external program that the client then detects is completely illegal and could get you banned.
And you still can't read data from a file without relogging/reloading.
kingnothingwow
15-03-2007, 06:10 PM
If I understood that correctly, it's worth noting that firing keyboard events from an external program that the client then detects is completely illegal and could get you banned.
And you still can't read data from a file without relogging/reloading
For 1. It is illegal for any company to scan your computer. Metallica had to get a warrant to scan napster's sever to see who was logging in with Metallica song. HP's CEO maybe looking a jail time for spying on it's employee's without their knowledge..
Third party as defined by Blizzard is. Unauthorized addons, mod, hack, trainer or cheat. that in blizzard's sole determination:(i) enables or facilitates cheating of any type; (ii) allows users to modify or hack the game interface environment, and/or experience in any way not expressly authorized by blizzard or collects information from or though the game.
since what I explained is nothing more then a virtual keyboard. and text editor not a whole lot they can do. and also banning me for using an application based on Microsoft functions. your not decompiling or reversing eng the client. and if I anyone copyrights the application. they can't ban you. no copyrighted application be been seen as a hack or can be banned by a company unless it access the server. I got sued by Sony Online for making a Voice Macros program and selling it. I won. based on Sony failed to prove that is was in violation of there terms. I have the right to edit or mod anything on my computer. I just can't do anything to Mod the Server side. and I can not sell any file that was attached to the game I modified. Since the application only mods the txts that are on your computer and you own. Blizzard has not legal right to them unless you don't agree with the TOS then by law you must remove the files. and besides even if they did in the same case with sony. I would just bring up the American Disbilites act. Blizzard can not limit any person who has a limition and if your applicaton gains them functions that they would otherwise not be able to do then you won! their are ways around everthing. Also Bizzard can only can scan legally what it is in it's /Directory path/ been using my "Pet Helper" for over a year.
The only part I may get fire over is this.
Dim WoWhWnd as Long
WoWhWnd = FindWindow("GxWindowClassD3d", "World of Warcraft") Used to see if wow.exe is loaded.
as for the reloadui. Thats not big deal not for what he is wanting to do.
Duugu
15-03-2007, 06:45 PM
So if you're not afraid of getting banned ... you could realize the idea I described here (http://forums.worldofwar.net/showthread.php?t=382514). *g*
Tunga
15-03-2007, 06:51 PM
For 1. It is illegal for any company to scan your computer. Metallica had to get a warrant to scan napster's sever to see who was logging in with Metallica song. HP's CEO maybe looking a jail time for spying on it's employee's without their knowledge..But it's not like either of these. Firstly you've installed Blizzard software and secondly it's not without your knowledge because it's all right there in the EULA.
enables or facilitates cheating of any typeA program that feeds keypresses to the client could be used for various things including botting.
When I say illegal I mean illegal-in-WoW, or bannable. Yes, blizzard can ban you for running a virtual keyboard if they want to. You have the right to edit the files and run applications and Blizzard have the right to ban you from accessing their servers.
Last time it got reverse engineered (about a year ago but I doubt it's changed much), the Blizzard Warden was scanning all running processes and applications on the computer as well as some of the game files.
If you don't want the warning then fine, go ahead and use it. But don't pretend like you can't get banned for it, because you can. Using an external program to feed the client keypresses could easily be considered botting and as such you could get banned for it. Just because you want to do it, doesn't mean you should be encouraging other people to, at least without giving out a warning to those people.
kingnothingwow
15-03-2007, 09:14 PM
A program that feeds keypresses to the client could be used for various things including botting.
That is a good point. and really is just goes to how each user is using their application. and that is pretty much all it is. If I am doing something to bot people are catch names to send them a message to buy gold here or any other type of action that action goes accross a server. then you 100% right.
But they hand tell me I can't use my voice to say commands, That I must you my hands.
But you do have a vaild point that I agree with. using this is a grey line. thats why I meantioned the "Copyright" If your application does anything to access blizzards server. or same right as the Client without Blizzards premisson then it's denied. so you would have to show that in your soucecode you have to submit that your not doing anything that would be considered a hack. and from that point. Blizzard has access to your scourcecode. as well. via the copright off. so once they see your not doing anything deem in their TOS your safe. if people figure out how to bot like you meantioned then I would stop using it asap. then you run a good change like you have describe.
So ya you would really have to put somefore thought into this so botting spamming doesn't happen.
But is good food for thought. :thumbsup:
Tunga
16-03-2007, 12:01 AM
But you do have a vaild point that I agree with. using this is a grey line.Yeah definitely, and the thing is that there's really no difference between a program that turns voice commands into keyboard presses and a program that turns a preprogrammed list of instructions into keyboard presses. Blizzard don't need to see your course code. If their Warden sees something creating hardware events (I don't know if it checks for that but it's a possibility) then there's a chane it will decide that you're doing something that you shouldn't be.
Another interesting point is that loading through the launcher [i]should/i] warn you about any programs running that might get you banned, but how many people actually use the launcher? That was a good way for Blizzard to be able to say "well we warned you and you didn't load through the launcher" and gives them more reaosn to ban people for things that aren't actually cheating.
It's an interesting discussion anyway :) .
kingnothingwow
16-03-2007, 12:19 PM
Good point.:thumbsup: about finding the window. the way I have mine setup
is I use Reg \LOCAL MACHINE\SOFTWARE\Word of warcraft\installpath.
I use that to find the path
So I run this.
Vb 6.0#
Global WoWhWnd as Long
Dim t, WowregPath as String
WoWhWnd = FindWindow("GxWindowClassD3d", "World of Warcraft") Used to see if wow.exe is loaded.
If WoWhWnd = 0 then
t = MsgBox "World of Warcaft is not running, Would you like to load?",VbYesNo,"Pet Helper"
If t = "VbYes" then
WowregPath = GetRegCode("LOCAL MACHINE\SOFTWARE\Word of Warcraft","Installpath")
Shell WowregPath & "\wow.exe", -u
End if
End If
So Since I do not remove WoWhWnd I keep the value loaded in memory then Blizzard application check would see that another application is holding the Windows "Long Value" Tell me what you think
You think that is enough to get noticed, warned or banned?
I also use get WindowFromPoint so if mouse.x and Mouse.y If they do not match the window value of WoWhWnd then it will not trigger the virtual keyboard so you don't trigger any other Windows bound hotkeys.
Tunga
16-03-2007, 12:52 PM
Last I heard it was only checking for a bunch of previously known programs, but that was a year or so ago and I'm sure they update it so who knows what it does now? In reality you're probably fine running it, but that doesn't make it legal as such. I just wouldn't want anyone thinking of using a program like that to come back in a few months and say "Oh I got banned and all I was doing was feeding hardware events to WoW for a legitimate reason", because as far as Blizzard's ToS is concerned, there's no legitimate reason for doing that.
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.