4 Attachment(s)
[Web/PHP, Season1] Pangya Web Manager - PHP Ver.
I once read someone that want an php based web manager for pangya. I got inspired and then, *voala*. I hope you guys enjoy this.
n.b.
You need to download at least 'spring' theme pack for this web.
Extract the spring theme pack into the folder ./theme/
/* wait for new update for shop and admin */
Don't forget to edit the config.php ^^
----------------------Edited---------------------
I found the register page didn't work perfectly, and so I
repaired the glitch and found another idea.
Webshop with cart.
You can't buy yet, but You WILL soon.
----------->Edited - PHP_Pangya_Webmanager.rar
-------------------------------------------------
Re: Pangya Web Manager - PHP Ver.
thx vegas
Edit config.php
$server_name = "laptop";
for
$server_name = "localhost";
2 Attachment(s)
Re: Pangya Web Manager - PHP Ver.
You know what ??
:trumpet:
I finished the shopping cart on this update.
DL 'EM XD
Overwrite all of em.
(Sry, you will need to reconfigure config.php)
p.s. :
I'm sry, one of them seems to have a problem, try download both.
////////////////////////////////////////////////
:poster_do
Uh oh, A wrong code found !!!
This error is definitely crucial
I forgot to classified char, caddie, and other item and so
The bought item goes to Item_WareHOuse
Where char should go to Character_Information
dan caddie to Caddie_Info
I'm so sorry
:cryin_smi
////////////////////////////////////////////////
Re: Pangya Web Manager - PHP Ver.
well i did try and use this - but problem, if i use this to reg account!! my character get wrong stats and well noting works.. (game crashes when useing accounts that have been made by this webpage.
if i make a account in the table in the sql all works, so whats wrong.. is it a wrong code in the reg page`? or missing stuf.. well let me know if u planing to make a working registration page!!
Re: Pangya Web Manager - PHP Ver.
Quote:
Originally Posted by
HenningTM
well i did try and use this - but problem, if i use this to reg account!! my character get wrong stats and well noting works.. (game crashes when useing accounts that have been made by this webpage.
if i make a account in the table in the sql all works, so whats wrong.. is it a wrong code in the reg page`? or missing stuf.. well let me know if u planing to make a working registration page!!
Yes, i have this issue too. I tried to examine the asp version posted while ago. Yet, I can't find the problem (yet)
It crashes because you had no char, club, nor aztec ball. So I still need to read the asp version. It seems that either I missed insert sql command(s), or procedures doesn't work with PHP.
For the time being, after you create an account, go buy some char and club. And then Insert the aztec ball to PangYa_Item_Warehouse.
Before playing, don't forget to equip them.
n.b. : But the cart is goodl isn't it?? At least for non-ball item ^^.
Reminds me, don't buy ball at webpage. I still need a workaround on it. Also time based item like caddie or sticker, for some reason i can't create proper dynamic date format for MSSQL.
My computer is being repaired due to battery problem (yes, a laptop). So you'll probably need to wait about 2 weeks until it's done. And addtional several day for me to work on it.
It still buggy. Sorry for the inconvenience. Truly Sorry T_T
Re: Pangya Web Manager - PHP Ver.
I have looked into that register problem myself as i've encountered it as well.
One thing i found out was if i manually add an account to the database (in the Member_Info table) and login to the game with the client i use to play the game, this problem occurs.
But when i login the first time with a diffrent client, the v212 Indo Client + Twilight's patch, it doesn't seem to encounter any problems at all.
I haven't tested it yet by registering through your website and logging in with my other client, but if that works, i think ur website is fine, but ppl just use a wrong client.
The bad thing about that v212 client is, it doesn't seem to show any clothings in the shops..so thats the only bad thing.
===Update===
Tried it and with the other client still same problem.
Maybe this helps you out a bit...
The things i fill in when manualling creating an account is the Accountname, Password, Nickname, FirstSet (value 0) and DoTutorial (value 1).
Once i get that done, i just login and once i chose my character and got the necklace everything works fine.
Re: Pangya Web Manager - PHP Ver.
Quote:
Originally Posted by
xxlongbow
Maybe this helps you out a bit...
The things i fill in when manualling creating an account is the Accountname, Password, Nickname, FirstSet (value 0) and DoTutorial (value 1).
Once i get that done, i just login and once i chose my character and got the necklace everything works fine.
$insertQl = mssql_query("INSERT INTO PangYa_Member_Info(userid,password,FirstSet,nickname,sex,DoTutorial) VALUES('$userid','$password','0','$nickname','$sex','1')") or die(mssql_error);
$uidQl = mssql_query("SELECT UID FROM Pangya_MEmber_Info WHERE userid='$userid'") or die(fail);
$uid = mssql_fetch_array($uidQl);
$uid = $uid[UID];
$pangQl = mssql_query("INSERT INTO Pangya_User_Statistics(UID,Pang) VALUES('$uid','$firstpang')") or die(fail);
The way you register doesn't include inserting pang nor cookie, right ??
See, I use 0 for 'FirstSet' and 1 for 'DoTutorial'.
Guess I'll renovate a bit
How about a redeem link ??
One time only link that add pang and cookie where you need to login to the game first before the link shows. HOw's that ?? Like the idea ??
Thx xxlongbow
1 Attachment(s)
Re: Pangya Web Manager - PHP Ver.
Sorry for the long update, college life sucks T_T
Yes, i managed to find errors in my web. Thx to xxxlongbow, now the registration thingy is completly 100% worked for sure (i tested myself).
It gets error when you insert pang to PangYa_User_Statistics before creating new char in first login, but it's fine if just cookie inserted via web. Don't get surprised with 10 cookie for new registrant, check the new member link at member page (as always, login at client first before you click this, it's once click avaible link ^^)
I also managed to make some update, see your self ^^. It's now much yet, but more features coming up ^^. (aargh, those darn admin page, it's far from complete, not even worked on that)
1 Attachment(s)
Re: Pangya Web Manager - PHP Ver.
Hei i have a new script for Voucher Bank
here it is and thanks for vegas_castle :
Re: Pangya Web Manager - PHP Ver.
@hafizh_furqan
Thx, it's nice. This might help :
I have stored UID in it's own session ($_SESSION['UID]') so you won't need to fetch it from db.
Re: Pangya Web Manager - PHP Ver.
Edit this config.php for <?php
//=============== Edite essa area com os dados do seu SQL======================================
$dbhost = "localhost";
$alogin = "sa";
$apass = "123456";
$db = "Bn_Game";
//=============== N
Re: Pangya Web Manager - PHP Ver.
[QUOTE=lokohabbo;2831334]Edit this config.php for <?php
//=============== Edite essa area com os dados do seu SQL======================================
$dbhost = "localhost";
$alogin = "sa";
$apass = "123456";
$db = "Bn_Game";
//=============== N
Re: Pangya Web Manager - PHP Ver.
Sorry Vegas.
I'm portuguese.
This config.php is ok in my web site, your webmanager is not ok in my server. o,O
Sorry!:shrug:
Re: Pangya Web Manager - PHP Ver.
Quote:
Originally Posted by
lokohabbo
Sorry Vegas.
I'm portuguese.
This config.php is ok in my web site, your webmanager is not ok in my server. o,O
Sorry!:shrug:
O_o
Really !!?? Well now I'm 350% confused. Well, if you say so.
I'm sorry too then. :peace:
Re: Pangya Web Manager - PHP Ver.
My Pangya Webmanager not work.
You have another?
In .Html or .Htm
Thx :groupwave: