Web Design and Web Development Forum

  1. #1
    Join Date
    Apr 2006
    Posts
    13
    Rep Power
    0
  2. Sloggy is on a distinguished road
  3. MMORPG script problems

    I've got hold of a script called Koc-clone, wich is a clone of an earlier version of
    www.kingsofchaos.com
    and I've installed this on my server;
    www.sloggy.net

    Now I have some problems with the script;

    - I can't get the turn-system to work (cron)
    - Sometimes the wrong kind of picture appears on recruiting sites;

    - The ranking system seems to be buggy
    - I can't login on the admin pages


    Can someone help?
    Last edited by Sloggy; 04-17-2006 at 06:30 AM.
    Reply With Quote Reply With Quote
  4. #2
    Join Date
    Jun 2005
    Location
    California, USA
    Age
    22
    Posts
    2,821
    Rep Power
    0
  5. Mau is on a distinguished road
  6. Re: MMORPG script problems

    Are you getting any errors? Please provide more details. You should also ask the manufacturer's support.
    Reply With Quote Reply With Quote
  7. #3
    Join Date
    Apr 2006
    Posts
    13
    Rep Power
    0
  8. Sloggy is on a distinguished road
  9. Re: MMORPG script problems

    I figured out most of my problems, but I still need help with a cron job.

    I want the file located here;
    http://www.sloggy.net/cron.php
    to be executed/opened every 30 minutes.

    Can someone describe what to do in cpanel to get this working?
    And what CHMOD settings should I use on it, when I only want me to "get to it"?
    Reply With Quote Reply With Quote
  10. #4
    Join Date
    Oct 2004
    Age
    20
    Posts
    1,967
    Rep Power
    9
  11. Reaper is on a distinguished road
  12. Re: MMORPG script problems

    Go to cron jobs, then to standard (I think) then type in lynx http://www.slogy.net/cron.php in the path, then click 30 minutes at the bottom.
    Reply With Quote Reply With Quote
  13. #5
    Join Date
    Apr 2006
    Posts
    13
    Rep Power
    0
  14. Sloggy is on a distinguished road
  15. Re: MMORPG script problems

    Thanks, got that to work :D

    I'm having problems logging into the admin panel, located here;
    http://www.sloggy.net/admin/index.php

    From login.php;
    <table width="290" align="center" cellpadding="2" cellspacing="2" class=table bgcolor=<?=$conf["tables_color"]?>>
    <tr align="center">
    <td colspan="2" class=head2>Log In</td>
    </tr>
    <tr>
    <td colspan="2" height=10></td>
    </tr>
    <tr>
    <td align="left" class=td>Login:</td>
    <td width="167" align="left" valign="top">
    <input class=input type="text" name="login" value="<?php echo $cgi['login']; ?>" >
    </td>
    </tr>
    <tr>
    <td align="left" class=td>E-mail:</td>
    <td width="167" align="left" valign="top">
    <input class=input type="text" name="email" value="<?php echo $cgi['email']; ?>" >
    </td>
    </tr>
    <tr>
    <td align="left" class=td>Pasword:</td>
    <td align="left"> <input class=input type="password" name="password" id="password"></td>
    </tr>
    <tr>
    <td colspan="2" height=10></td>
    </tr>
    <tr align="right">
    <td colspan="2"> <input type="submit" name="Submit" value="OK" class="button">
    </td>
    </tr>
    </table>

    From lib.php (I'm assuming thats where the admin login info is stored);
    $conf["mail"]="stian89@gmail.com";



    $conf['admin_login']='stian';
    $conf['admin_password']='stian';


    Can anyone see whats wrong?
    Reply With Quote Reply With Quote
  16. #6
    Atolar's Avatar
    Join Date
    Jun 2005
    Posts
    690
    Rep Power
    7
  17. Atolar is on a distinguished road
  18. Re: MMORPG script problems

    Ahaha, i've got a copy of this script. Too bad it's written stupid and doesn't work for me... oh well.


    Where does your form send to? You might want to look in there for how it handles the admin information.
    Reply With Quote Reply With Quote
  19. #7
    Join Date
    Apr 2006
    Posts
    13
    Rep Power
    0
  20. Sloggy is on a distinguished road
  21. Re: MMORPG script problems

    Quote Atolar originally posted:
    Where does your form send to? You might want to look in there for how it handles the admin information.

    What do you mean? In the database or something?
    Reply With Quote Reply With Quote
  22. #8
    Join Date
    Oct 2004
    Age
    20
    Posts
    1,967
    Rep Power
    9
  23. Reaper is on a distinguished road
  24. Re: MMORPG script problems

    Hmm, do you know PHP?
    Reply With Quote Reply With Quote
  25. #9
    Join Date
    Apr 2006
    Posts
    13
    Rep Power
    0
  26. Sloggy is on a distinguished road
  27. Re: MMORPG script problems

    Just started reading about it when I found this script. So no, I don't.
    Reply With Quote Reply With Quote
  28. #10
    Join Date
    Oct 2004
    Age
    20
    Posts
    1,967
    Rep Power
    9
  29. Reaper is on a distinguished road
  30. Re: MMORPG script problems

    Oh, learn it better. You would have to search where the form is going. In this case I believe its index.php. So on the index look for something like if($_POST['Submit']) or similar. Then post the code after it.
    Reply With Quote Reply With Quote

Similar Threads

  1. Need help installing a script!!!!
    By fishhits in forum PHP Scripting
    Replies: 0
    Last Post: 11-06-2005, 05:16 PM
  2. PHP mail script
    By eazman in forum PHP Scripting
    Replies: 7
    Last Post: 06-06-2005, 01:53 PM
  3. PHP News Script
    By unclekyky in forum PHP Articles
    Replies: 0
    Last Post: 09-03-2004, 08:07 PM