Warcraft III Sending Data to External SQL Database

Knights

You can change this now in User CP.
Reaction score
71
Is it possible for WC3 at the end of the game, or when a player leaves or some interval of time, to send some variables to an SQL Database, and when the player joins the game, to retrieve them? If this was possible, save/load codes would no longer be nessicary, as well as there would be a potential for a Warcraft III MMORPG, which would be simply amazing.

I'm not the greatest at C++, but as far as I know, WoW Private Servers (I know, not supported...) use C++, so I think it must be possible to "host" a WC3 "server" and have it constantly sending data to all the connected players about who else is connected and where they are in the world, what monster they are attacking, what direction they are facing, what level they are, etc.

That would be very amazing, and I do beleive it is possible, I just need a C++ expert to give me a bit of advice/help...=)

Also; Phyrex1ans code for the custom ladder, that is basically doing what this needs to do, except it would be better if it did not need to save the game, if it could simply send the data. If it does need a save game, the MMORPG idea is crushed... :(

Well anyways,
Thanks for reading...if anyone has any ideas, share them!

Thanks,
Knights:cool:
 

Knights

You can change this now in User CP.
Reaction score
71
I guess the answer is no.

:(

Do you have any explenation?

Field View ORPG (FVORPG.com), a recent "discovery" of mine, has a system where you run a program (I think C++) and it basically does what I was just suggesting...so I know it must be possible.
 

Sooda

Diversity enchants
Reaction score
318
The Hive Workshop said:
A project that aims to add more functionality to Warcraft III, while at the same time keeping it a low size, so it's still useful for mappers. RtC will be available for any type of map, mod or even a Total Conversion.
More about Reinventing the Craft project can be found here.
 

phyrex1an

Staff Member and irregular helper
Reaction score
447
Also; Phyrex1ans code for the custom ladder, that is basically doing what this needs to do, except it would be better if it did not need to save the game, if it could simply send the data. If it does need a save game, the MMORPG idea is crushed... :(
It's possible to do without the save game but then it wouldn't be my code :p
The reason why I selected the save game method is that is the only method (ok, there's replays too) I know of to export data from wc3 without doing any kind of "hacking". Save games are natively supported by wc3.

Anyway, save games would be very impractical for this so you better look at the "hacking" methods (eg custom native).
 

SFilip

Gone but not forgotten
Reaction score
634
This idea was thought of several times in the past.
The RtC project I'm working on does have some SQLite natives (still problematic at the time of writing), but I really doubt it will ever become popular considering custom natives require a "patch" to work.
 

Knights

You can change this now in User CP.
Reaction score
71
So theres no way to create a "hack" that will basically be a little program you run, and it will detect WC3 running and then the game running, and then begin to extract data? You would need to actually alter files in the WC3 folder, and have everyones files be the same in order for that sort of thing to work?

I'm really interested then, at how the program for FVORPG works (fvorpg.com), from what I can see with the screenshots (I can't run the program I don't have Warcraft on this computer), it doesn't need any save game to communicate with the running warcraft III game...that would be amazing if it could constantly communicate, because it would therefore be possible to constantly communicate between all running warcraft III games of that certain type and merge them all into one for a big MMORPG. So if anyone is able to figure out just what they are doing with that program...it would be excellent...=)
 

FhelZone

Have a drink of a nice cold mellowberry juice!
Reaction score
103
How about the WOW map in hive, I just cant belive people in the hive are like geeks :D
They do extreme things in making maps.
 

SFilip

Gone but not forgotten
Reaction score
634
Well, our method is probably as simple as it can get, but that's sadly not enough.
You run RtC.exe instead of running war3.exe and then play the game normally.
This site you linked to offers very little information whatsoever and it didn't work for me (or it's simply working very, very slowly which is a bad thing as well). It seems to be using a similar method as grimoire (the core of RtC), but on a running game which isn't such a good idea and makes it harder to use.

Creating a program that extracts data from a running wc3 game is possible, but very difficult and in the end not worth it as most people would simply ignore your tool or wouldn't figure out how to use it.
 

FhelZone

Have a drink of a nice cold mellowberry juice!
Reaction score
103
Oh so you mean another .DLL ?
Or is it built in with the executable?
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Ghan Ghan:
    Still lurking
    +3
  • The Helper The Helper:
    I am great and it is fantastic to see you my friend!
    +1
  • The Helper The Helper:
    If you are new to the site please check out the Recipe and Food Forum https://www.thehelper.net/forums/recipes-and-food.220/
  • Monovertex Monovertex:
    How come you're so into recipes lately? Never saw this much interest in this topic in the old days of TH.net
  • Monovertex Monovertex:
    Hmm, how do I change my signature?
  • tom_mai78101 tom_mai78101:
    Signatures can be edit in your account profile. As for the old stuffs, I'm thinking it's because Blizzard is now under Microsoft, and because of Microsoft Xbox going the way it is, it's dreadful.
  • The Helper The Helper:
    I am not big on the recipes I am just promoting them - I use the site as a practice place promoting stuff
    +2
  • Monovertex Monovertex:
    @tom_mai78101 I must be blind. If I go on my profile I don't see any area to edit the signature; If I go to account details (settings) I don't see any signature area either.
  • The Helper The Helper:
    You can get there if you click the bell icon (alerts) and choose preferences from the bottom, signature will be in the menu on the left there https://www.thehelper.net/account/preferences
  • The Helper The Helper:
    I think I need to split the Sci/Tech news forum into 2 one for Science and one for Tech but I am hating all the moving of posts I would have to do
  • The Helper The Helper:
    What is up Old Mountain Shadow?
  • The Helper The Helper:
    Happy Thursday!
    +1
  • Varine Varine:
    Crazy how much 3d printing has come in the last few years. Sad that it's not as easily modifiable though
  • Varine Varine:
    I bought an Ender 3 during the pandemic and tinkered with it all the time. Just bought a Sovol, not as easy. I'm trying to make it use a different nozzle because I have a fuck ton of Volcanos, and they use what is basically a modified volcano that is just a smidge longer, and almost every part on this thing needs to be redone to make it work
  • Varine Varine:
    Luckily I have a 3d printer for that, I guess. But it's ridiculous. The regular volcanos are 21mm, these Sovol versions are about 23.5mm
  • Varine Varine:
    So, 2.5mm longer. But the thing that measures the bed is about 1.5mm above the nozzle, so if I swap it with a volcano then I'm 1mm behind it. So cool, new bracket to swap that, but THEN the fan shroud to direct air at the part is ALSO going to be .5mm to low, and so I need to redo that, but by doing that it is a little bit off where it should be blowing and it's throwing it at the heating block instead of the part, and fuck man
  • Varine Varine:
    I didn't realize they designed this entire thing to NOT be modded. I would have just got a fucking Bambu if I knew that, the whole point was I could fuck with this. And no one else makes shit for Sovol so I have to go through them, and they have... interesting pricing models. So I have a new extruder altogether that I'm taking apart and going to just design a whole new one to use my nozzles. Dumb design.
  • Varine Varine:
    Can't just buy a new heatblock, you need to get a whole hotend - so block, heater cartridge, thermistor, heatbreak, and nozzle. And they put this fucking paste in there so I can't take the thermistor or cartridge out with any ease, that's 30 dollars. Or you can get the whole extrudor with the direct driver AND that heatblock for like 50, but you still can't get any of it to come apart
  • Varine Varine:
    Partsbuilt has individual parts I found but they're expensive. I think I can get bits swapped around and make this work with generic shit though
  • Ghan Ghan:
    Heard Houston got hit pretty bad by storms last night. Hope all is well with TH.
  • The Helper The Helper:
    Power back on finally - all is good here no damage
    +2
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    New recipe is another summer dessert Berry and Peach Cheesecake - https://www.thehelper.net/threads/recipe-berry-and-peach-cheesecake.194169/

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top