[RELEASE] Cash4Quest "Server"

11/18/2015 17:17 OpenSSH#1
Hey,
hatte vor ca 2 Jahren mal für Ep3 für irgendson' Typen das Tool geschrieben, dennoch kam es nie zum Einsatz.
Da ich gerade am entmüllen bin und es ehh nur rumliegt hier der Sourcecode.

Was kann das "Tool"?
Es ist ein Cash4Quest Tool.
Optimalerweise löst der Spieler ein Quest, wodurch er ein definierbares Item (ItemID) bekommt. In einem definierbaren Intervall fragt das Tool ab ob User X das Item hat löscht es aus dem Inventar und schreibt Cash gut.

Der Source sieht kacke aus. Ist mir auch relativ egal. :)

greetz xNiceEinz :P

DL: [Only registered and activated users can see links. Click Here To Register...]
VT: [Only registered and activated users can see links. Click Here To Register...]


BTW: Falls ihr mir helfen wollt. Reported mich bitte, isn Multiaccount und habe keine Lust mehr auf EPVP :3

BTW2: Wurde in C# geschrieben.
11/18/2015 17:27 EEOI#2
Ganz nett aber so hätte man das auch mit einer Shell lösen können ^^.
11/18/2015 17:32 OpenSSH#3
Jo war noch ganz neu und wollte mich damals bisschen üben.
Inzwischen würde ich mir nicht mehr die Arbeit machen für son' Quatsch.
11/21/2015 05:49 PizzaGuy#4
This is pointless as it would take up to 30 minutes after quest completing for this to even recognize the player as having the item. The database is not updated on every ingame action as that would put a massive strain on the sequel server. Instead servers store everything in memory and typically dump data to the database in timed intervals. You'd be better off reading the output of the gameserver to check for the quest completion and given item if you wanted it to be closer to real-time. Even then you would have issues as the item won't appear in the users inventory until the player logs off and then back on. Which could spell issues (dupes) if the items can be traded or dropped. All in all it's a bad system. You would need to hook the gameserver itself to do real time manipulation of a players inventory if you wanted to do it right.