TWLan Forum
New academy (with coins) - still working at this plugin - Printable Version

+- TWLan Forum (https://twlan.org)
+-- Forum: Legacy (https://twlan.org/forumdisplay.php?fid=61)
+--- Forum: TWLan 1.x (DSLan) (https://twlan.org/forumdisplay.php?fid=62)
+---- Forum: Deutsche Community (https://twlan.org/forumdisplay.php?fid=65)
+----- Forum: Spielerprojekte (https://twlan.org/forumdisplay.php?fid=9)
+------ Forum: Tools und Spielerprojekte (https://twlan.org/forumdisplay.php?fid=10)
+------ Thread: New academy (with coins) - still working at this plugin (/showthread.php?tid=1126)



New academy (with coins) - still working at this plugin - hip_hop_x - 11.02.2009

I am working at a plugin to add the new academy to the ds-lan (the one with coins). If there's any staff that could help me that would be great, I am wandering how to check if a noble dies when he is atacked or when he atacks another village.


RE: New academy (with coins) - still working at this plugin - SlimShady95 - 11.02.2009

when do you, write the downloadlink here?

MfG Manuel


RE: New academy (with coins) - still working at this plugin - hip_hop_x - 11.02.2009

i need a function or another peace of code to help me track when a noble dies


RE: New academy (with coins) - still working at this plugin - SlimShady95 - 11.02.2009

oh sorry ^^
i dont know, if i can help you, i try it, ok?
sorry i know my english is bad Tongue

Mfg Manuel


RE: New academy (with coins) - still working at this plugin - -superking- - 11.02.2009

I think you have to parse the reports. Noble = unit_snob? I have never played on an english server ;-)


RE: New academy (with coins) - still working at this plugin - hip_hop_x - 11.02.2009

it's the same script, i didn't even translated to english i just want to create the academy with coins for this game. It's the same unit_snob, but how to parse the reports, just using pure sql or is there an already made function ?


RE: New academy (with coins) - still working at this plugin - -superking- - 11.02.2009

I would use sql and list it then, read out if there is a noble and than look if a noble died. I think the bigger problem is, that every report have to be read just one time.


RE: New academy (with coins) - still working at this plugin - hip_hop_x - 11.02.2009

hmm, maybe i'll just release a demo, and won't give a free noble if he dies in battle... hmm but there will be problems after that with the remaining coins cause they will keep increasing in cost for a newer noble.


RE: New academy (with coins) - still working at this plugin - agrafix - 11.02.2009

Why don't you just count the nobles and after every new report you check if the amount changed?


RE: New academy (with coins) - still working at this plugin - -superking- - 12.02.2009

You have to check the reports every second, because the report can already been deleted by the user when you need it. I think a plugin like this is impossible/very difficult. But i will be amazed if you manage it :-)


RE: New academy (with coins) - still working at this plugin - hip_hop_x - 12.02.2009

i'll try to make the first beta version, without any detection if noble dies.


RE: New academy (with coins) - still working at this plugin - GeorGe4You - 12.02.2009

would be cool Big Grin
good luck HipHopX Big Grin


RE: New academy (with coins) - still working at this plugin - GeorGe4You - 15.02.2009

Did u made something ?


RE: New academy (with coins) - still working at this plugin - hip_hop_x - 15.02.2009

yeah but it's not finished yet


RE: New academy (with coins) - still working at this plugin - Eragon666 - 21.02.2009

Do you have the plugin? How much time do you think you need?


RE: New academy (with coins) - still working at this plugin - MathijsTTO - 06.04.2009

Yes,
I really want to use it.
The way of the noblemans now sucks. Sad
I hope it will be finished soon. Shy

Greetz Wink