Works-Simulator Module - Battle Simulator for your server

Status
Not open for further replies.
Joined
Jan 1, 2009
Messages
386
Reaction score
20

AdriaN401MasteR - Works-Simulator Module - Battle Simulator for your server - RaGEZONE Forums
The simulator, working at last :thumbup1:.

So go to todofleetcontrol.php and add:
PHP:
include($ugamela_root_path . 'includes/calculateAttack.'.$phpEx);
include($ugamela_root_path . 'includes/formatCR.'.$phpEx);
or
PHP:
include($xnova_root_path . 'includes/calculateAttack.'.$phpEx);
include($xnova_root_path . 'includes/formatCR.'.$phpEx);

And add the files from the post attachment. Everything should work just fine.

Extra: How to add it to you left menu? Add this:
PHP:
  <tr>
        <th><a href="simulator.php" accesskey="s" target="{mf}" class="style1">TD Simulator</a></th>
      </tr>


Good luck boys & girls :love:,
Adrian.
 

Attachments

Last edited:
  • Like
Reactions: snw
Is it me or do i miss the template file?
I use Xnova legancies as base, i had to edit the includes and so but i do miss the template
PHP:
$body = gettemplate('notpremium');
help?
 
:)) Sorry aropop but on my server I made this just for premium users.. you have to remove that.. Ill do it for you wait 1 min . :)) Sorry again

Edit:
Done .. try again.
 
Last edited:
Nice, added it to the source. And one more thing you should also say how to add it to the left menu ;) simple template line

Also i will put the text you put in the simulator.php in a seperate simulator.mo file.
 
Sorry for writing in an old thread but i need help. I have XG proyect 2.8 and i cant find todofleetcontrol.php :*:

// EDIT
I copied and edited the one from xnova legacies but i still cant get it to work :(
It shows me blank page only.

running on xgp2.8en
 
Last edited:
Status
Not open for further replies.
Back