Silent Crusade
Apr 25 2004, 07:46 PM
| QUOTE (serra @ Apr 25 2004, 06:01 PM) |
@Silent Crusade & shiver
The file_get_contents() function was added in php 4.3.0. If you upgrade to EasyPHP 1.7 or maybe go to SourceForge and look for Triad or FoxServ. |
-____________- i just tryed to upgrade and now i get even more errors this *Beep* is crazy
serra
Apr 25 2004, 11:41 PM
Are they different errors or the same? If you were more descriptive then I could probably help you more.
Silent Crusade
Apr 27 2004, 07:29 PM
| QUOTE (serra @ Apr 25 2004, 11:41 PM) |
| Are they different errors or the same? If you were more descriptive then I could probably help you more. |
im going to try and use one of the other programs u mentioned if it doesnt work i will post the errors i get
Senku
Apr 27 2004, 08:38 PM
opps
Silent Crusade
Apr 27 2004, 08:40 PM
ok i followed dovac guide and now i get these errors
Warning: mssql_connect(): Unable to connect to server: 66.98.254.21 in W:\www\Panel\memory.php on line 58
Warning: mssql_query(): supplied argument is not a valid MS SQL-Link resource in W:\www\Panel\memory.php on line 46
Warning: mssql_fetch_array(): supplied argument is not a valid MS SQL-result resource in W:\www\Panel\memory.php on line 48
this is weird X_X seems if i keep refreshing the page the error goes away
serra
Apr 27 2004, 09:27 PM
| QUOTE (Silent Crusade @ Apr 27 2004, 08:40 PM) |
ok i followed dovac guide and now i get these errors
Warning: mssql_connect(): Unable to connect to server: 66.98.254.21 in W:\www\Panel\memory.php on line 58
Warning: mssql_query(): supplied argument is not a valid MS SQL-Link resource in W:\www\Panel\memory.php on line 46
Warning: mssql_fetch_array(): supplied argument is not a valid MS SQL-result resource in W:\www\Panel\memory.php on line 48
this is weird X_X seems if i keep refreshing the page the error goes away |
Dovac's guide to what?
I am not sure how your setup is, but since you are setting up the web server yourself my guess is that all the ragnarok and related servers are on your own local network. If that is the case, then you do not need to use the wan ip address to access the database, use the lan ip address. Also, make sure that you are not forwarding port 1433 to anywhere inside of your network, as it could point towards your mssql server and it is a big security hole.
If this is an inaccurate assumption of your network, then generally explain how you have things set up in regards to where the mssql server is and where the web server is and how they connect to the internet.
Silent Crusade
Apr 27 2004, 09:36 PM
| QUOTE (serra @ Apr 27 2004, 09:27 PM) |
| QUOTE (Silent Crusade @ Apr 27 2004, 08:40 PM) | ok i followed dovac guide and now i get these errors
Warning: mssql_connect(): Unable to connect to server: 66.98.254.21 in W:\www\Panel\memory.php on line 58
Warning: mssql_query(): supplied argument is not a valid MS SQL-Link resource in W:\www\Panel\memory.php on line 46
Warning: mssql_fetch_array(): supplied argument is not a valid MS SQL-result resource in W:\www\Panel\memory.php on line 48
this is weird X_X seems if i keep refreshing the page the error goes away |
Dovac's guide to what?
I am not sure how your setup is, but since you are setting up the web server yourself my guess is that all the ragnarok and related servers are on your own local network. If that is the case, then you do not need to use the wan ip address to access the database, use the lan ip address. Also, make sure that you are not forwarding port 1433 to anywhere inside of your network, as it could point towards your mssql server and it is a big security hole.
If this is an inaccurate assumption of your network, then generally explain how you have things set up in regards to where the mssql server is and where the web server is and how they connect to the internet.
|
On page 2 of this thread dovac typed up a lil guide

and yes i have everything on 1 pc.......i set it all up using remote desktop i don't have physical acess to the machine. I had a few friends try to connect to the CP and they said it work fine

tho everyonce in awhile that error pop up after a refresh it works perfectly......
On a side note anyone know how to make it so gm don't show on ladder?
serra
Apr 27 2004, 10:33 PM
If it works, then all is good. You might want to use 127.0.0.1 though for the ip address of the mssql server that the script uses if it's on the same machine.
| QUOTE |
| On a side note anyone know how to make it so gm don't show on ladder? |
This might have been addressed before, I'm not too sure actually. If you set up everything and including the extra database that comes with aegis cp then it should ignore whatever accounts are in the 'ignored' table.
As I'm looking over more and more of the code, efficiency apparently was thrown out of the window. If it gets the job done though, that's good enough for some.
Silent Crusade
Apr 28 2004, 12:10 AM
| QUOTE (serra @ Apr 27 2004, 10:33 PM) |
If it works, then all is good. You might want to use 127.0.0.1 though for the ip address of the mssql server that the script uses if it's on the same machine.
| QUOTE | | On a side note anyone know how to make it so gm don't show on ladder? |
This might have been addressed before, I'm not too sure actually. If you set up everything and including the extra database that comes with aegis cp then it should ignore whatever accounts are in the 'ignored' table.
As I'm looking over more and more of the code, efficiency apparently was thrown out of the window. If it gets the job done though, that's good enough for some.
|
Try to recode it all! you seem bright enough

and id love to bug u more for help since nuc wnt be around anymore hahah.
serra
Apr 28 2004, 05:47 AM
I'm getting there.. be patient! Go ahead and ask questions though, I check the forum somewhat regularly.
fritz
Apr 28 2004, 03:41 PM
You people really need to upgrade... but heres file_get_contents()(Can't believe you people couldnt do it your self, makes since to open a file and read all of the contents lol)
| CODE |
<?php function file_get_contents($filename, $use_include_path = 0) { $file = @fopen($filename, 'rb', $use_include_path); if ($file) { if ($fsize = @filesize($filename)) { $data = fread($file, $fsize); } else { while (!feof($file)) { $data .= fread($file, 1024); } } fclose($file); } return $data; } ?>
|
If you have it don't use that... but if you want you could add a extra statement like if(function_exists('file_get_contents') == NULL) to do the checking and etc
Regards,
fritz
tvudo
Apr 30 2004, 04:10 AM
How come my zone or charserver alway freezes for about 5mins when ever someone went to my cp site?
I tried host the cp site on another computer(not my lan), but it gave me all types of error ex:
| QUOTE |
Warning: mssql_connect(): Unable to connect to server: ***.***.***.*** in W:\www\memory.php on line 58
Warning: mssql_query(): supplied argument is not a valid MS SQL-Link resource in W:\www\memory.php on line 46
Warning: mssql_fetch_array(): supplied argument is not a valid MS SQL-result resource in W:\www\memory.php on line 48 |
The computer i am trying to host the cp site is on a router, so should I forward the port 1433?
serra
Apr 30 2004, 05:46 AM
| QUOTE (tvudo @ Apr 30 2004, 04:10 AM) |
How come my zone or charserver alway freezes for about 5mins when ever someone went to my cp site?
I tried host the cp site on another computer(not my lan), but it gave me all types of error ex:
| QUOTE | Warning: mssql_connect(): Unable to connect to server: ***.***.***.*** in W:\www\memory.php on line 58
Warning: mssql_query(): supplied argument is not a valid MS SQL-Link resource in W:\www\memory.php on line 46
Warning: mssql_fetch_array(): supplied argument is not a valid MS SQL-result resource in W:\www\memory.php on line 48 |
The computer i am trying to host the cp site is on a router, so should I forward the port 1433?
|
1. This may be caused by many things. You might not have enough bandwidth for both your web server and a ragnarok online server to be used at the same time. The code that is used for the server status page is somewhat experimental and typically isn't used for checking if a server is up or not. If you are hosting everything ( account, char, inter, zone, mssql, http ) on the same computer, you might not have enough resources for all of them to run nicely at the same time.
What I ultimately suggest for this is to disable the server status page and see if it's ok after that. If not, then try to move the cp to another host.
2. If you have the cp outside of the network that the mssql server is on, then you have to make sure that the mssql server can be accessable by computers outside of its network. THIS IS A BIG SECURITY RISK. That being said, you have to forward port 1433 on the router to the network that the mssql server is behind. To illustrate:
internet -> router 1 -> mssql server
internet -> router 2 -> http server with the aegis cp
You have to forward port 1433 to the ip that the mssql server has on router 1. Preferrably, if your router can do port forwarding for only certain ips, such as the ip of your http server with the aegis cp on it, it would be much more secure than letting everybody access it. I'm sure my new(ish) dlink 624 can, but my old zyxel whatever cannot; it's router specific.
tvudo
May 1 2004, 01:43 AM
Thnx Serra,
BTW, how do you make it so that the pvp record the scores on more than one maps? It has to do something with
$pvp = mssql_query("select * from PvPScore where (GID='$GID' AND MapName='pvp_n_1-5.gat')", $char_db);
serra
May 1 2004, 10:42 AM
| QUOTE (tvudo @ May 1 2004, 01:43 AM) |
Thnx Serra,
BTW, how do you make it so that the pvp record the scores on more than one maps? It has to do something with
$pvp = mssql_query("select * from PvPScore where (GID='$GID' AND MapName='pvp_n_1-5.gat')", $char_db); |
It would all depend on how many pvp maps you want. The query would be:
$pvp = mssql_query("select * from PvPScore where GID='$GID'", $char_db);
Then later on when outputting whatever scores that character has, you need to loop through the results of that query. Delete:
while ($pvp_array = mssql_fetch_array($pvp))
{
$Score = $pvp_array['WinTime'];
}
Then go down where it says:
echo "<td bgcolor=\"$color\" width=\"80\" class=\"mytext\">$scolor$Score$ccolor</td>";
And replace it with:
while ($pvp_array = mssql_fetch_array($pvp))
{
echo "<td bgcolor=\"$color\" width=\"80\" class=\"mytext\">$pvp_array['MapName'] - $pvp_array['WinTime']</td>";
}
This might work.. might not. In the end it should look something like 'map_name_1.gat - the_score'. Unless you know a bit of PHP it would probably be easier to just leave the query as it is now, and just change the map to the most popular pvp map you have.
echo_top
May 3 2004, 03:02 AM
| QUOTE (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 |
hello
did u, find the way to maka validation is not required?? cause i need it too,
fritz : You people really need to upgrade... but heres file_get_contents()(Can't believe you people couldnt do it your self, makes since to open a file and read all of the contents lol)
yes.. i can't do it by my self.. cause i dont know what to do... can u help me, cause it still get me error file_get_contents..
i use php triad phptriad2-2-1(1), cause its only php server that work, easy php get me more lot error( 1.7) and also php that i download from there web site..
please help me.. what should i do to correct the problem... ( i dont know how to upgrade it so i dont get that error anymore
(
Fatal error: Call to undefined function: file_get_contents() in c:\apache\htdocs\source\memory.php on line 86
)
thx alot... God Bless
azndragon
May 3 2004, 11:26 AM
PHPTriad is VERY old. You need to get the latest PHP from php.net. Forget the packages, its not that hard to setup, I didn't even do much config to get mine up and running
echo_top
May 4 2004, 11:11 AM

YESSSSSSSSSSSSSSS
finally yes ... IT WORKS..... n it was a great program...
thanks man...
can't wait for next version
( Using the newest Apache n PHP )
btw... can user register without verification by mail...? n just get their id
thx...

edit : asking about storage.. i edit the file user n char_act.php but when i view the store it view like this:
1 Wing_of_Butterfly(s)
30 kf_1_pit(s)
Cotton_Shirt [ ]
Ahuramazda [ ]
Angra_manyu [ ]
what is 30 kf_1_pit(s) , n it doesn't show my storage.. can u help me???
n my Active Log Ticker wont work.. give me error.. n "debug... bla bla bla.. " i dont understand.... ..the other is work.. just fine....
thx for your help guys...
serra
May 7 2004, 10:54 PM
The things you have in your inventory but can't see in game are items from the 'guest' table I think. They act kinda like flags I guess for quests. In some scripts I have seen, every time you use storage from the kafra, you get like 2 kafra points or something. That is how the game knows how many kafra points you have.
echo_top
May 8 2004, 04:04 PM
| QUOTE (serra @ May 8 2004, 05:54 AM) |
| The things you have in your inventory but can't see in game are items from the 'guest' table I think. They act kinda like flags I guess for quests. In some scripts I have seen, every time you use storage from the kafra, you get like 2 kafra points or something. That is how the game knows how many kafra points you have. |
hi serra....
thx for help... i mean in acp.... not in game...
i create new account... n buy but wing n red pot..
i put red pot in kafra storage n but wing still in my inventory...
....
then i open ACP to see in menu view in char management... view items...
it show me all item i have excep error in kafra storage
1 Wing_of_Butterfly(s)
30 kf_1_pit(s) this one from kafra storage.. should be red pot
Cotton_Shirt [ ]
Ahuramazda [ ]
Angra_manyu [ ]
please help me... sorry if my english not too good and makes different from i mean... /sry
Veriad
May 8 2004, 05:09 PM
| QUOTE (echo_top @ May 8 2004, 11:04 AM) |
it show me all item i have excep error in kafra storage 1 Wing_of_Butterfly(s) 30 kf_1_pit(s) this one from kafra storage.. should be red pot Cotton_Shirt [ ] Ahuramazda [ ] Angra_manyu [ ] |
Those are the items in your inventory, not your storage. When you used storage, you got 30 Kafra Points (which explains the 30 kf_1_pit). Your Red Potions don't show up because they're in storage. The Butterfly Wing, Cotton Shirt, Ahuramazda, and AngraManyu, as well as the invisible quest item "kf_1_pit" are in the inventory of your character.
echo_top
May 8 2004, 08:42 PM
thx.... i understand ....
sorry....
so.. how can i see my kafra storage? cause i do all the thing in the forum.. but when i clik view item... it always show me inventory item...
is there another menu that shoud i put ?
thx....
ps. sorry too much missunderstanding
IceCream
May 22 2004, 04:48 PM
my problem is after login with any user it appears this message:
| QUOTE |
Warning: mssql_connect(): message: Cannot open user default database. Using master database instead. (severity 11) in c:\inetpub\wwwroot\memory.php on line 58
Warning: mssql_query(): message: Invalid object name 'annoucements'. (severity 16) in c:\inetpub\wwwroot\index.php on line 26
Warning: mssql_query(): Query failed in c:\inetpub\wwwroot\index.php on line 26
|
any idea?
Buster
Jun 4 2004, 06:46 PM
Good tool but still can't send registration confirmation to New Accounts...... Anyone?
or teach me to omit that email validation thing to make user sign up automatically activating their account......
**wish echira or nucleo is around**
echira
Jun 11 2004, 06:58 PM
| QUOTE (Buster @ Jun 4 2004, 01:46 PM) |
Good tool but still can't send registration confirmation to New Accounts...... Anyone?
or teach me to omit that email validation thing to make user sign up automatically activating their account......
**wish echira or nucleo is around** |
go to line ~200 in user_add.php
find:
| QUOTE |
mssql_query("INSERT INTO pending (auth_id,account,password,gender,email,dated)" . " VALUES ('$myauthid','$GET_ID','$GET_passwd','$GET_sex','$GET_Email','$dated')", $auth_db); SendMail($_SESSION['srv_name_ab']." Registration",$_SESSION['mail_name'], "$GET_ID", "$GET_Email", "Confirm your email", "Please follow this link to confirm your email and to activate your " . $_SESSION['srv_name_ab'] . " account \n\n " . $_SESSION['acct_fw_page'] . "?auth=$myauthid \n\nDo not click the link more than once"); Echo "<br><br>"; EchoHead(); echo("<table border=0 cellpadding=3 cellspacing=1 bgcolor=#000000><tr><td align=center><font color=#ffffff face=\"tahoma\" size=1>" . $_SESSION['srv_name_full'] . " Registration</td></tr><tr><td class=\"mytext\" bgcolor=#b6b6b6>An email has been sent to you ($GET_Email). Please click the link inside to activate your account.<br><br>If you do not get the email within 5 minutes, make make sure that you are using the correct email address. <br>Take note that hotmail accounts seem to take more time to process <br>or do not recieve the email at all.<br></td></tr></table>"); EchoFoot();
|
change it to:
| QUOTE |
mssql_query("INSERT INTO pending (auth_id,account,password,gender,email,dated)" . " VALUES ('$myauthid','$GET_ID','$GET_passwd','$GET_sex','$GET_Email','$dated')", $auth_db); Echo "<br><br>"; EchoHead(); echo("<table border=0 cellpadding=3 cellspacing=1 bgcolor=#000000><tr><td align=center><font color=#ffffff face=\"tahoma\" size=1>" . $_SESSION['srv_name_full'] . " Registration</td></tr><tr><td class=\"mytext\" bgcolor=#b6b6b6>To prevent insecure registration, we ask you to authenticate your registration by clicking the link below. This will activate your account.<br><br><a href=\"" . $_SESSION['acct_fw_page'] . "?auth=$myauthid\"><font size=1><c>CLICK HERE</c></font></a><br><br>Do not click the link more than once.<br></td></tr></table>"); EchoFoot();
|

"secure registration" lol... little white lies never hurt. trust me, players believe
ANYTHING you tell them.
Buster
Jun 11 2004, 07:52 PM
It works... thanks echira...
Note: fw.php need to be modified to make it work.... check the PATH below...
| QUOTE |
| content=\"0;url=http://$webserver_ip:$webserver_port/PATH/user_add.php? |
SolidSpit
Jun 26 2004, 11:02 PM
Is it just me or is the change pass option not working..
If you enter all the info it just .... uhm well it does nothing.. No error nothing happens...
I must have read this topic 30 times by now but i feel like i am the only one...
EDIT
Oke i found the problem why the change pass option was not working..
For those who are intrested.
Open cp_user and find (it should be on line 235):
| CODE |
| echo "<form action=\"$PHP_SELF\" method=\"POST\">"; |
and replace with
| CODE |
| echo "<form action=\"$PHP_SELF?action=pass\" method=\"POST\">"; |
O and something else.. If your smtp server requires you to give a username and password how would that be done..?? I am not very good at php scripting or php globally for that matter.
EDIT 2Well never mind about that smtp user name and password thingy. I just figured out my ISP does not support it. But it just wont work for me. Emails dont get send and i am using the smtp server of my ISP wich does indeed not accept sends from IP's not on their network but i still dont understand why it does not accept my server since its my second pc
Arg i want it to work.. O and yes i ready seen the post from echira but i want the validation thing to work also the same for recovering lost passwords.
EDIT 3Woohoo i fixed it its now working and for those also having trouble here is what i did. Offcourse put your smtp server in your php.ini also fill in the sendmail_from to the email your using on that smtp server.
then open memory.php and find (should be line 131)
| CODE |
| return(@mail("$contactname <$contactemail>", $subject, $message, $headers)); |
And change it to
| CODE |
| return(mail("$contactemail", $contactname, $subject, $message, $headers)); |
Now these fixes all worked for me and my php knowledge is very limited so i cant say for 100% it will work for you.
Greetz Solid
azndragon
Jun 27 2004, 12:03 AM
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.
Edit: Yeah, I made a syntax error, use this one with one less ).
echira
Jun 27 2004, 05:27 AM
is this the only location where you can inject from ? or lemmie guess, that's up to us to find again?
SolidSpit
Jun 27 2004, 07:16 AM
Well got a new question..
After fixing a few things its now working very smooth.. But a question about the account cleanup option to remove accounts that have been inactive for 2 weeks.. I did not want to press it because for all i know my enitre database is gone.. So looked up in the php script and saw it get its info from login > lastconnectime.
Now i think i am going to be happy i did not press it since it says <NULL> at every account. It never updates.. Is this because it does not work or a procedure thats not right ???
Because i really want the option only i would make it account not active for 4 weeks or something like that...
Greetz Nataku
maldiablo
Jun 27 2004, 07:41 AM
Although this is off topic, the account emu updates last connect time just fine. Perhaps I'll add it to my sig when I get a chance, in the meantime you'll see it pinned in the aegis general section.
azndragon
Jun 27 2004, 02:22 PM
| QUOTE (echira @ Jun 27 2004, 01:27 AM) |
| is this the only location where you can inject from ? or lemmie guess, that's up to us to find again? |
The main thing to realize is that you only need to protect from SQL injection where it is open to the public, and takes in GET arguments. I suppose it can be done in the Account management page, but I'm not really that good at injecting myself.
Radamanthys
Jun 28 2004, 02:41 AM
that CP allow switching between 255 characters & storage ?
P.D. can i modify the "time out" php, somtimes messe up by time out
kitsunestarwind
Jun 28 2004, 06:54 AM
someone wanna re-post a fixed and updated version thanks
Veriad
Jun 28 2004, 09:40 AM
| QUOTE (kitsunestarwind @ Jun 28 2004, 01:54 AM) |
| someone wanna re-post a fixed and updated version thanks |
We're working on it... It has lots of nice new features too

It's coming out great!
-- It's much more secure than the original release
-- Money transfer exploits are fixed
-- Character ID is hidden in money transfers, to increase security
-- SQL Injection is fixed
-- "Storage Storage" - My system for switching storage boxes, to allow up to 5 Storage Boxes (it shows you the actual list of items in each, too)
-- "Character Storage" - Lets you hold up to 255 characters in storage (this one is compatible with the account cleanup script) [not stolen from Maldiablo or azndragon! mine looks a lot better and.... it's cooler! heh, it's true, ask echira!]
-- ItemLog Searching and Viewing [by echira and xmarv!] - Very useful system to view item logs and keep an eye on your players and GMs
-- GMs can view items in carts and storage, as opposed to just inventory [by echira!!]
-- Password Change script is fixed, it actually changes your password
-- Script that allows the players to reset the clothes dye, in case they're getting errors; script that lets players reset their location (back to their save point), in case they get stuck (these two are really helpful to reduce stress on GMs)
-- Addition to the Guild Ladder, enables the guild leader to upload his/her own guild emblem to be displayed on the ladder
-- Richest Player ladder [by Tweak] -- like the Player Ladder, but shows them in order of zeny
-- Includes 3 different methods of account verification [by echira] - E-mail verification, GM verification, and no verification
-- Easier to configure conf.def [by echira!]
-- Comes with an easy to use installer to attach the required database
-- And, of course, it's a lot more secure than the original
That's not all, we're trying to think of more features.
Any suggestions are very welcome, we'll try our best to make this as useful as we can
xmarv
Jun 28 2004, 01:35 PM
Found a new money-transfer-bug some time ago...
Easy to fix, I don't know if its already done, but if not: do it

[RO] Login char1
[CP] Transfer char1's money to char2
[RO] Logout char1
Then your char2 has the money which you have transferred from char1 to char2 and char1 has its money back too.
Veriad
Jun 28 2004, 05:46 PM
| QUOTE (xmarv @ Jun 28 2004, 08:35 AM) |
Found a new money-transfer-bug some time ago... Easy to fix, I don't know if its already done, but if not: do it 
[RO] Login char1 [CP] Transfer char1's money to char2 [RO] Logout char1
Then your char2 has the money which you have transferred from char1 to char2 and char1 has its money back too. |
Have you actually tested this? The ACP is programmed to make sure the user is offline in RO before being able to transfer money.
xmarv
Jun 28 2004, 07:24 PM
Yes I tested it, and I am really rich now... lol
Shouldn't work, but it does...
| CODE |
if (IsOnline(AIDByAccount($myuser))) { ReDirect("index.php","You must be logged off in-game to use this feature"); }
|
Veriad
Jun 28 2004, 07:47 PM
| QUOTE (xmarv @ Jun 28 2004, 02:24 PM) |
Yes I tested it, and I am really rich now... lol Shouldn't work, but it does... |
Alright, I've looked into that problem. I believe (but I am currently unable to test) that the problem is caused by the GOD-Login Account Server Emulator. I've heard that it has some problems with the t_user table. However, I have written a fix for it, and it will be included in our release of the new ACP.
edit: Do you happen to know if the server that you tested this on is using the GOD-Login emulator?
echira
Jun 28 2004, 09:42 PM
if you're currently using the basic accountserver by gravity then you should have no problems with the money transfer and/or bugs. the GOD-login emulator does not update t_user like it should, therefore will read players online when they aren't, and visa versa. the gravity accountserver does work with the IsOnline command.
xmarv
Jun 28 2004, 09:48 PM
I don't use emulators
No problem... I will get that to work in my cp...
echira
Jun 29 2004, 04:33 AM
the update will be compatable with the EMU but there's no garuntee it will work right with the IsOnline conditions. you're going to have to work with your own scripting there.
azndragon
Jun 29 2004, 05:55 PM
Heh..I disabled money transfer for eAthena users in my Athena CP, because of that same bug that can be exploited, since the Online function doesn't work in eA yet.
sparhawk
Jul 17 2004, 03:10 AM
i was wondering what the curent version was and if there was a place to download the current version from.
thanks
c1ru
Jul 22 2004, 04:46 PM
Warning: mssql_fetch_array(): supplied argument is not a valid MS SQL-result resource in c:\php\www\control panel\index.php on line 30
i have some problem with, mssql_fetch_array and:
Warning: mssql_query(): Query failed in c:\php\www\control panel\mob.php on line 35
mssql_quey, too
this is my two most important errors. all work, but i see all time this errors, i try it with easyphp1.7, FoxServ, etc etc, any idea?
azndragon
Aug 1 2004, 12:59 AM
You need to enable MSSQL extensions, consult your php.ini, as well as the PHP documentation as to how to get it working
Radamanthys
Aug 25 2004, 08:42 PM
| QUOTE |
Fatal error: Maximum execution time of 30 seconds exceeded in memory.php on line 46
|
line 46 -> $result = mssql_query(" select * from login ",$login_db);
where i must modify maximun execution time out?

| QUOTE |
Fatal error: Maximum execution time of 30 seconds exceeded in login.php on line 58
|
azndragon
Aug 25 2004, 08:47 PM
Why you would even need to SELECT * FROM login is beyond me. If you wanted case-sensitivity, you should do a SELECT * FROM login WHERE CAST(ID AS varbinary) = $GET_ID AND CAST(passwd AS varbinary) = $GET_password.
Something along those lines, forget the exact syntax
And to answer the original question:
set_time_limit(0);
Radamanthys
Aug 25 2004, 08:52 PM
ok thank you...
| QUOTE |
And to answer the original question:
set_time_limit(0);
|
but... where i must declare it? (inside code) :? thank you in advance
Radamanthys
Aug 25 2004, 09:25 PM
| QUOTE |
$result = mssql_query(" SELECT * FROM login WHERE CAST(ID AS varbinary) = $GET_ID AND CAST(passwd AS varbinary) = $GET_password ",$login_db); |
Warning: mssql_query(): message: Sintaxis incorrecta cerca de la palabra clave 'AND'. login.php on line 58
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.