Nucleo
Feb 23 2004, 11:10 PM
Aegis CP v2.1 (Released Feb 23, 2004)
This is my latest release of the Aegis Control Panel. It is a lot less buggy, and a lot easier to setup and configure (Installation Documents and be found in the distribution package)
Features:
- User Specific Privledges defined in the `flagged_accounts` table
- Logging of all administrative actions
- Updated GUI
- Account clean up scripts with consists of the following
- Wiping of all offline level 1 novices
- Wiping of all accounts with no characters
- Wiping inactive accounts (not been logged in over a month)
- All characters that do not have an existing account attached to them
- Resetting PvP Scores for the Ladder Board
- Entire account listing, searching, and editing, and deleting
- Entire character listing, searching, editing, viewing items, and deleting
- Full featured Guild Ladder board, shows Guild Castles owned by which guilds, level of guilds, members in each guild, and some information about each player
- Full featured User Ladder TOP200 listing, users are ranked by Base Lvl -> Job Lvl -> Zeny
- Integrated control panel for the players to modify their passwords, change their hairstyle, and transfer zeny from one character to another
- Authorized users can post annoucements for logged in users to see
- Monster listing, searching by item/map/mob, can view drops of each monster and stats
- Viewing online players
- Administrating validating users (users that have not confirmed their email yet)
- Nice user registration page, where users are required to validate their email before they can use their account. This registration also has a spam filter on it where users may only user the registration twice per day (24 hours).
- Users may recover lost passwords via the 'Lost Password?' button at login. PHP Will send an email to the users with their account information.
Anyone who uses my control panel, I demand that you leave the about page and credit to me, it's not that much to ask.
I love it when I recieve feedback, so please, do so!
Download Here (If people can mirror this please do!)
http://evilro.net/cp/AegisCPv2.1.zipIMPORTANT BUG NOTICE!! FIX IT OR RISK BEING EXPLOITED!As quoted by azndragon, to ensure that this exploit doesn't happen to you, do the following:
| QUOTE |
Small fix for SQL Injection:
gd_ladder.php
Before this line: $result = mssql_query("select * from GuildInfoDB where GDID=$GET_guild",$char_db);
Add:
if (strlen($GET_guild) > 4) { redir("index.php", "You cannot perform this action!"); exit(); }
I would suggest that you upgrade this IMMEDIATELY.
|
gugclo
Feb 24 2004, 03:36 AM
ok first bug, you have a missing function named, file_get_contents()
edit: damn its not your fualt, its my verson of php, what verson has this function?
Zezicla
Feb 24 2004, 04:26 AM
seems like file is damaged ?
Panthers
Feb 24 2004, 04:32 AM
Confirmed, it's damaged and WinRar's repair didn't work either
Nucleo
Feb 24 2004, 06:51 AM
oops im so sorry,i'll fix it
#edit#
fixed
FuZioN
Feb 24 2004, 07:15 AM
I'm using EasyPHP 1.6..seems to work for me?
skyiing
Feb 24 2004, 09:26 AM
PHP Script Interpreter has encountered a problem and needs to close. We are sorry for the inconvenience.
CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:
Rentus
Feb 24 2004, 09:46 AM
it's working fine.
But I would have deleted those Validating users (everyone can see their pwd!), that announcement from lambie, the GM-pictures, the logfiles and so on ^^.
oh, by teh way, the cp_config.php is missing.
newbe5
Feb 24 2004, 09:55 AM
I haven't tried this yet, but I'm planning on it.
However, is there a way of turning OFF the registration part? My server is invite only, so I create all of the accounts myself. I don't want people making their own.
newbe5
Rentus
Feb 24 2004, 10:20 AM
you can deactivate it in the conf.def
| QUOTE |
| $_SESSION['cfg_user_registration'] = 'disabled'; |
sfacrew
Feb 24 2004, 11:41 AM
this is my error
Fatal error: Call to undefined function: mssql_connect() in c:\appserv\www\aegis\memory.php on line 58
plz how to connect to mssql
Rentus
Feb 24 2004, 11:58 AM
you have to activate the mssql_connect() by deleting the ";" in front of "extension=php_mssql.dll" in the php.ini
MokuJin
Feb 24 2004, 12:17 PM
so helpfull
gugclo
Feb 24 2004, 10:07 PM
Nucleo
Feb 24 2004, 11:53 PM
| QUOTE (Rentus @ Feb 24 2004, 01:46 AM) |
it's working fine. But I would have deleted those Validating users (everyone can see their pwd!), that announcement from lambie, the GM-pictures, the logfiles and so on ^^.
oh, by teh way, the cp_config.php is missing. |
cp_config is no longer used by the aegis cp, you can remove that line if you wish from the footer.inc
only those authorized will be able to view passwords, which is flagged in the 'flagged_accounts' table. This is an 'as is' directly off of my ragnarok server, so yes, feel free to delete logs, gm pictures, annoucements etc.
#Edit#
Post count 100 , yay
andz
Feb 25 2004, 09:31 AM
great work,

i tried to use it.. but it gives me errors..
Notice: Undefined index: login in d:\program\easyphp1-7\www\register\memory.php on line 50
Notice: Undefined index: password in d:\program\easyphp1-7\www\register\memory.php on line 51
Notice: Undefined index: login in d:\program\easyphp1-7\www\register\memory.php on line 22
Line 50-52
if ($_COOKIE['login'] == $result_array['ID'] &&
$_COOKIE['password'] == $result_array['passwd'])
Line 22
return $_COOKIE['login'];
Confuse,
Rentus
Feb 25 2004, 09:41 AM
| QUOTE (Nucleo @ Feb 25 2004, 12:53 AM) |
| only those authorized will be able to view passwords, which is flagged in the 'flagged_accounts' table. |
I just meant that now everybody who downloads your controlpannel can see the pwd's from your not authorised players.
So I would recommend that they change their pwd.
Nucleo
Feb 25 2004, 05:05 PM
no its fine, i wipe those all the time, i guess that 99% of the players in the auth table wont ever be used because most people authorize their account right away
Nucleo
Feb 25 2004, 05:08 PM
| QUOTE (k0rN @ Feb 25 2004, 01:31 AM) |
great work, 
i tried to use it.. but it gives me errors..
Notice: Undefined index: login in d:\program\easyphp1-7\www\register\memory.php on line 50
Notice: Undefined index: password in d:\program\easyphp1-7\www\register\memory.php on line 51
Notice: Undefined index: login in d:\program\easyphp1-7\www\register\memory.php on line 22
Line 50-52 if ($_COOKIE['login'] == $result_array['ID'] && $_COOKIE['password'] == $result_array['passwd'])
Line 22 return $_COOKIE['login'];
Confuse, |
It cant find the indexes 'login' and 'password' in the cookie array, maybe its easyPHP or something, I install apache and PHP by hand, makes it a lot simplar IMO
Try putting an @ infront of the $_COOKIE, so change it to this
Line 50-52
if (@$_COOKIE['login'] == $result_array['ID'] &&
@$_COOKIE['password'] == $result_array['passwd'])
Line 22
return @$_COOKIE['login'];
I don't know of that will work, but when it can't find those indexes, it means ur not logged in, on my apache setup it just ignores the fact that they are missing.
andz
Feb 26 2004, 02:25 AM
I Use Latest EasyPHP 1.7 + Apache
Hmm.. It Worked.. When i added @ but when i opened it Auto Login as .
Then i Log out..
Gave Me New Errors..
Notice: Undefined variable: POST_action in d:\program\easyphp1-7\www\register\login.php on line 16
Notice: Undefined variable: GET_action in d:\program\easyphp1-7\www\register\login.php on line 16
Notice: Undefined index: p in d:\program\easyphp1-7\www\register\login.php on line 20
Notice: Undefined variable: PHP_SELF in d:\program\easyphp1-7\www\register\login.php on line 30
Line 16
if (!$POST_action && !$GET_action)
Line 20
$p = $_GET['p'];
Line 30
echo "<form action=\"$PHP_SELF\" method=\"post\">";
gugclo
Feb 26 2004, 04:47 AM
something is wrong with your scripts, try this for login.php
| CODE |
<?php
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * Aegis Interactive Control Panel v2 * * Designed and coded by Nucleo * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Please leave the credit and the about button * * to me, I spent time in making this control * * panel and I hope everyone is thankful that I * * am sharing it. * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
require 'memory.php';
if (!$POST_action && !$GET_action) { include 'header.inc';
echo "You must login with your username and passsword."; echo "<br><br>"; EchoHead(); echo " <table border=0 bgcolor=#000000 cellpadding=3><tr><th width=212><font face=Tahoma color=#ffffff size=1>Please Login</th></tr></table>"; echo "<table border=0 cellpadding=0 cellspacing=1 bgcolor=#000000>"; echo " <tr>"; echo " <td>"; echo " <table align=center border=0 bgcolor=#b6b6b6 cellpadding=3 cellspacing=1>"; echo " <form action=\"$PHP_SELF\" method=\"post\">"; echo " <input type=\"hidden\" name=\"action\" value=\"login\">"; echo " <tr>"; echo " <td class=\"mytext\">User: </td>"; echo " <td><input type=\"text\" class=\"myctl\" name=\"user\"></td>"; echo " </tr>"; echo " <tr>"; echo " <td class=\"mytext\">Password: </td>"; echo " <td><input type=\"password\" class=\"myctl\" name=\"pass\"></td>"; echo " </tr>"; echo " <tr>"; echo " <td><input type=\"submit\" class=\"myctl\" value=\"login\"></td>"; echo " </tr>"; echo " <tr>"; echo " <td class=\"mytext\"><a href=\"lost_pass.php\">Forgot Password?</a> <br> <a href=\"http://frosakray.sytes.net/\">New Account?</a></td>"; echo " </tr>"; echo " </form>"; echo " </table>"; echo " </td>"; echo " </tr>"; echo "</table>"; EchoFoot(); } elseif ($POST_action == "login") { $login_db = ConnectDatabase("login"); $result = mssql_query(" select * from login ",$login_db); $authorized = 0; while ($result_array = mssql_fetch_array($result)) { if ($POST_user == $result_array['ID'] && $POST_pass == $result_array['passwd']) { $authorized = 1; break; } } if ($authorized == 1) { setcookie("login",$POST_user, time()+86400); setcookie("password",$POST_pass, time()+86400); include 'header.inc'; ReDirect("index.php","You are now logged in"); } else { include 'header.inc'; ReDirect("login.php","Incorrect Login"); } } elseif ($GET_action == "logout") { setcookie("login",""); setcookie("password",""); include 'header.inc'; ReDirect("login.php","You are now logged out"); }
include 'footer.inc';
?>
|
if this doesnt work tell me, i may have an idea
andz
Feb 26 2004, 05:27 AM
Same Error
Nucleo
Feb 27 2004, 08:04 AM
| QUOTE (k0rN @ Feb 25 2004, 06:25 PM) |
I Use Latest EasyPHP 1.7 + Apache
Hmm.. It Worked.. When i added @ but when i opened it Auto Login as . Then i Log out..
Gave Me New Errors..
Notice: Undefined variable: POST_action in d:\program\easyphp1-7\www\register\login.php on line 16
Notice: Undefined variable: GET_action in d:\program\easyphp1-7\www\register\login.php on line 16
Notice: Undefined index: p in d:\program\easyphp1-7\www\register\login.php on line 20
Notice: Undefined variable: PHP_SELF in d:\program\easyphp1-7\www\register\login.php on line 30
Line 16 if (!$POST_action && !$GET_action)
Line 20 $p = $_GET['p'];
Line 30 echo "<form action=\"$PHP_SELF\" method=\"post\">"; |
Well, when I look at those error, I see something very wrong with the PHP you have installed. The 'extract' function doesnt seem to be working for you, and its doing warnings with invalid indexs in arrays (and the index SHUD exist even). What PHP.INI version are you using? I know the one that comes with the setup package, the, "recommended", is NOT recommended, use the php.ini-dist, what ever its called.
Magnoon
Mar 2 2004, 04:03 PM
Could someone help me to install lastest apache + php? I only know how the packages work but they give errors on the script
sfacrew
Mar 2 2004, 04:13 PM
This is my error
Fatal error: Call to undefined function: mssql_connect() in c:\appserv\www\aegis\memory.php on line 58
I have active the mssql in the php.ini
what happend???
Rentus
Mar 2 2004, 07:54 PM
hm in xampp there are two php.ini files, one in the php folder and one in the apache folder. This is perhaps the error
dovac
Mar 2 2004, 09:56 PM
a semi helpful install guide i guess..since everyone has little problems..
go get
http://sourceforge.net/projects/miniserver/extract to drive c: go to the folder uniserver3.0
double click start.bat Do NOT close the window!
open up IE, type in localhost and press enter
you'll see that its installed, you'll see this message "Now you can delete all files from w:\cgi-bin\ and w:\www\ and start write your own server by clicking on this link." click that link, click yes. continue now you'll be in
http://localhost/a/now navigate to W:\usr\local\Php\ open up php.ini search for mssql you'll find the line: ;extension=php_mssql.dll
uncomment it by removing the ;
now go to
http://dovac.uniaegis.org/php_mssql.dll to get the mssql dll, uniserver didn't include that since its a stripped down version of everything heh >_>;
ok back to
http://localhost/a/ click shutdown the server, now go back to the uniserver folder and click start.
now that mssql extention is installed properly you can Now download Aegis Interactive Control Panel, extract it to somewhere.
extract database, and attach it in mssql(i hope u know how to do that cuz i'm not explaining it yet again)
extract source to W:\www\
open up conf.def and edit the info, if your having db errors edit $_SESSION['db_server'] = ''; with your hostmask
i hope this helps..
Magnoon
Mar 2 2004, 10:55 PM
Ok, nucleo I finally installed apache + newest php on my own and it's damn GREAT. Everything works in 1 time no need to change anything
I do have a suggestions for you next release (I hope it comes

).
If it would be possible to clear all logs in 1 time, I have to delete entry all the time to delete your old ones

keep up the great work m8, I love it
*Edit:
Could you put the register account in config too because I configured everything but there is still showing :
You should also register on the Evil RO Forums located here.
And it does not send emails somehow at registration
-- Global Settings not working at all?
-- Server Status showing nothing?
Nucleo
Mar 3 2004, 04:25 AM
Global settings is no longer a part of the cp, i forgot to remove that from the menu, all configuration is done in conf.def now. For the email to be sent, you must have setup your sendmail function for php, inside your php.ini , i use cox so my smtp server is smtp.west.cox.net , you can find out what your smtp server for your mail is by checking the site. (yahoo email doesn't use an smtp server unless you pay for the extra packages). I'll add a clear logs button for ya in next release.
Magnoon
Mar 3 2004, 10:24 AM
Ah, very nice m8

I still have some minor problems tough; Server status is showing nothing. Just
Current status for all Servers
Server Status
And that it. Do I have to configure something or do I have to start the server somehow else?
2nd.
The mail thingie still doesn't work. I tried smtp.hotmail.com and email magnoon3@hotmail.com But it still doesn't work. Do you have any idea how to deal with this?
Keep up the great work, I appreciate it
zack
Mar 3 2004, 08:20 PM
Nice script Nuc, works well
Nucleo
Mar 4 2004, 04:34 AM
| QUOTE (Magnoon @ Mar 3 2004, 02:24 AM) |
Ah, very nice m8 
I still have some minor problems tough; Server status is showing nothing. Just
Current status for all Servers
Server Status
And that it. Do I have to configure something or do I have to start the server somehow else?
2nd.
The mail thingie still doesn't work. I tried smtp.hotmail.com and email magnoon3@hotmail.com But it still doesn't work. Do you have any idea how to deal with this?
Keep up the great work, I appreciate it |
well, some SMTP servers dont accept send mail connections unless you use the same host as them. Such as, I use cox internet, and I use my cox smtp server, with my email and everything work perfectly.

As for the server status, it just grabs the information from the GlobalInfo -> ServerInfo table , creates sockets and atempts to connect to each server with the specified IP : Port combination, if it connects its online, if it fails it offline. This feature only works if you are not running your webserver on the same computer as interserver, otherwise it will cause interserver to not work. That script uses the sockets module, so make sure you have it enabled!
Magnoon
Mar 4 2004, 12:46 PM
Hmm, the server info won't work than because im running webserver on the same pc AND use proxy3
I found some bugs in your control panel tough or somethings that can be improved:
- The User ladder doesn't have the menu left bottom.
- Editing characters only has got 3 slots instead of 5, if you are using 5 slotted charserv
- Gamemasters page, make gamemasters deletable/addable
- Maybe make a register option that you won't have to validate your email?
- Make an option so that guild masters can upload their guild emblem to the server
- Possible to make items deletable as gamemaster? Only view is possible now
I'm just making some suggestions and stuff, You don't have to do anything with it, but I hope you do

Anyway thanks for the help so far, I'm enjoying your control panel very much
echira
Mar 5 2004, 05:35 AM
okay... here's a slight thought that i'm trying to fix up but cant seem to get my finger on the correct php coding for. i'm trying to add a feature where players would be able to change their email address, such as accounts registered before we got ACP, and their email is something like a@a.com and we want them to change them to valid email adresses.
here's what i've gotten so far.
inserted right before the pass action in cp_user.php:
| CODE |
elseif ($GET_action == "email") { if (!$POST_email) { echo "<form action=\"$PHP_SELF\" method=\"POST\">"; echo "<input type=\"hidden\" name=\"action\" value=\"email\">"; EchoHead(); echo "<table border=0 bgcolor=#000000 cellpadding=3><tr><th width=213><font face=Tahoma color=#ffffff size=1>Change Email</th></tr></table>"; echo "<table border=0 cellspacing=1 cellpadding=0 bgcolor=#000000>"; echo "<tr><td>"; echo "<table border=0 bgcolor=#b6b6b6>"; echo "<tr>"; echo "<td class=\"mytext\">Email Address</td>"; echo "<td><input type=\"text\" name=\"oemail\" value=\"$myemail\" class=\"myctl\"></td>"; echo "</tr>"; echo "<tr>"; echo "<td class=\"mytext\">New Email Address</td>"; echo "<td><input type=\"text\" name=\"email\" value=\"\" class=\"myctl\"></td>"; echo "</tr>"; echo "<tr>"; echo "<td class=\"mytext\">Email Confirmation</td>"; echo "<td><input type=\"text\" name=\"email2\" value=\"\" class=\"myctl\"></td>"; echo "</tr>"; echo "</table>"; echo "</td></tr>"; echo "</table>"; EchoFoot(); echo "<br><input type=\"submit\" value=\"Update Email\" class=\"myctl\">"; echo "</form>"; } else { if ($POST_email !== $POST_email2) { ReDirect("cp_user.php?action=email","The email addresses you have entered do not match"); }
mssql_query("update account set Email='$POST_email' where AID='$myAID'",$login_db); echo "<br>"; ReDirect("index.php","Email has been updated to <u>$POST_email</u>"); } }
|
and i inserted this at the top right after the part where it registers $myAID:
| CODE |
$result = mssql_query("select * from account where AID='$myAID'",$login_db); while ($result_array = mssql_fetch_array($result)) { $myemail = $result_array['Email']; }
|
everything looks like it should work to me, but when i go to execute the command ("submit" it) it just loads the base cp_user.php (which is blank pretty much) and doesn't change a dang thing in the database.
any suggestions?
Nucleo
Mar 5 2004, 08:53 AM
i used to have that feature in, but i took it out long ago when i decided i didnt want my users to change there email without verifying it again (i was lazy to code that hehe), so i just took it out all together. remember i made this for my server and im sharing the script xD
thanks for you addition though
echira
Mar 5 2004, 02:30 PM
oh it's an awesome script and all, i was just wondering if someone could take a look over what i added and tell me why it isn't working lol. it's been stumping me.
maldiablo
Mar 9 2004, 06:22 PM
I have a dynamic IP which is blocked by a lot of spam filters if I send mail from my local machine, so I have an external smart relay host I pay for that requires authentication. Does anybody have or know how to get a sendmail wrapper that supports this? Or perhaps somebody re-written the part of aegiscp that uses the mail() directive? If I can get a re-written function or a win32 sendmail wrapper I'd be real greatful. Until I get this resolved the email validation feature of the control panel won't work for me. Thanks in advance for any help. I've searched the net far and wide myself.
lepercaun
Mar 9 2004, 09:41 PM

im geting this
Warning: mssql_connect(): message: Login failed for user 'login'. Reason: Not associated with a trusted SQL Server connection. (severity 14) in c:\program files\apache group\apache\htdocs\memory.php on line 58
anyone know what i am doing wrong?
Nucleo
Mar 10 2004, 06:24 AM
What service do you pay for maldiablo? They didn't give you any scripts to use on their site or anything?
I'll help you on your search non the less
maldiablo
Mar 10 2004, 03:25 PM
| QUOTE (Nucleo @ Mar 10 2004, 02:24 AM) |
What service do you pay for maldiablo? They didn't give you any scripts to use on their site or anything?
I'll help you on your search non the less |
Thanks Nucleo, as for service, I just use no-ip. I don't have hosting through them, just relaying and DNS because I host my domain's email server right at home. But once again, since it's on a dynamic IP, my users had problems sending mail to certian hosts, so I paid for a relaying service. My local smtp server is configured to authenticate to it and use it as a smart relay host. Any mail recieved from users on my network is automatically relayed properly through the local smtp server, then the relay-host. So locally, users don't need any authentication at all. I heard that sendmail for nt can be configured to use a smart relay host, but it's not free. If anybody has a bootleg version or just another alternative altogether, I'd appreciate it. At this point, I wouldn't mind setting up a second smtp server as long as I can configure it's listen port and give it a smart host. Lastly, configuration of any program is no problem for me. As long as it has the features I want, I'll figure out the rest.
Well, there goes my long story, I hope it makes sense. Thanks again.
kitsunestarwind
Mar 11 2004, 06:24 AM
a possible bug it seems that its possible to transfer more money then a char has to another char
siughoust
Mar 14 2004, 05:10 AM
You guys are really making management so much simpler and fun. I'm really enjoying it! I have only taken advantage of merely 50% of its capabilities and it has already served me more than enough.
Many thanks for releasing it!! *puts kickass stamp on it*
TweaK
Mar 14 2004, 05:25 PM
Add on: richest players script ^.~ (For script see attachment)
Have fun with it.
Install of Richest Player Script: Place in same directory as user_ladder.php etc and in footer.inc, look for:
| CODE |
| [tab]echo "[Tab][Tab][Tab][Tab]<option value=\"gd_ladder.php\">-- Guild Ranking"; |
And under it, add this:
| CODE |
| [Tab]echo "[Tab][Tab][Tab][Tab]<option value=\"richest_players.php\">-- Richest Players"; |
Replace [Tab] by a Tab. XD
Then in the drop down menu you click on the link Richest players and can view your Richest players.
It takes out the accounts: SerGM001, SerGM002, SerGM003, SerGM004, SerGM005.
Nice script man !
Really nice work !
Twin-x
Mar 14 2004, 07:13 PM
Tweak i get errors! Dank je voor het addon script ^^
| QUOTE |
Warning: mssql_query(): supplied argument is not a valid MS SQL-Link resource in W:\www\richest_players.php on line 16
Warning: mssql_connect(): message: Login failed for user 'nlogin'. (severity 14) in W:\www\memory.php on line 58
Warning: mssql_connect(): Unable to connect to server: XXX in W:\www\memory.php on line 58 |
TweaK
Mar 14 2004, 07:30 PM
I found it, take the new version and it wont work (See attachment)
Should at least fix the middle one of those errors.
Further, I dont get any errors.
Twin-x
Mar 14 2004, 08:02 PM
It did not change anything Sorry
echira
Mar 15 2004, 01:38 PM
eh, i'm not too good at this php thing >_< was wondering if anyone could help me set it so there is no email validation required (or what lines to take out of user_add.php)
thanks in advance
temple
Mar 16 2004, 09:11 PM
Wow, really nice. Excellent control panel, keep up the good work

Mirrored!
http://usaro.drspages.com/mirrors/AegisCPv2.1.zip
xmarv
Mar 25 2004, 03:34 PM
I know a bug...
You can transfer unlimited money if you insert a "-" in front of your numbers

It was a bug of version 2.0, but if its not fixed, you know it now!
Here is my fix, just replace that code with the step 4 of the money transferring process:
cp_user.php
| QUOTE |
elseif ($GET_step=="4") { $re = "-"; $ereg = ereg($re,$GET_amount); if($ereg == false) { $char1 = CharNameByGID($GET_GID1); $char2 = CharNameByGID($GET_GID2); $money1 = MoneyOnChar($GET_GID1); $money2 = MoneyOnChar($GET_GID2);
if (IsSyncAID($GET_GID1,AIDByAccount($myuser)) == 0) { ReDirect("index.php","An error has occured"); }
if (IsSyncAID($GET_GID2,AIDByAccount($myuser)) == 0) { ReDirect("index.php","An error has occured"); }
if ($money1 >= $GET_amount) { } else { $GET_amount = $money1; }
$money1 = $money1 - $GET_amount; $money2 = $money2 + $GET_amount; @mssql_query("update charinfo set money='$money1' where GID='$GET_GID1'",$char_db); @mssql_query("update charinfo set money='$money2' where GID='$GET_GID2'",$char_db); ReDirect("index.php","$GET_amount zeny has been transfered from $char1 to $char2"); } else { ReDirect("index.php","Don't try to cheat please..."); } }
|
echo_top
Mar 25 2004, 06:25 PM
anyone can help me... how to "add customized access to different users inside the flagged_accounts ??" i can't find how to add...
thx
edit..
i already find in tabel... inside aunt database.. i just dont understand the meaning add customize access .. how i can add it .. in table flagged... thx...
sorry my english not 2 good..
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.