-
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:
-
Re: Pangya Web Manager - PHP Ver.
Well I can try to make html version, but It will force me to use Ajax to make the contents dynamic, and I'm not experienced enough with it. Thats just one problem.
I thought I write the requirements that you need a PHPServer such as Xampp or PHPTriad so on. Even with html You still need a PHPServer.
OR
I think I still have .ASP version by Shaldy, you need to have ASpServer, or install Internet Information Services on WinXP
Either one
-
Re: Pangya Web Manager - PHP Ver.
@lokohabbo I think u must learn PHP, because I lots confuse using ASP. And thanks to @vegas_castle, I be able to use Pangya Web.
-
Re: Pangya Web Manager - PHP Ver.
You must use apache? Or Appserv?:cool3:
-
Re: Pangya Web Manager - PHP Ver.
Quote:
Originally Posted by
hafizh_furqan
@lokohabbo I think u must learn PHP, because I lots confuse using ASP. And thanks to @vegas_castle, I be able to use Pangya Web.
Happy to help ^^
//////////////////////////
@lokohabobo
Apache
-
Re: Pangya Web Manager - PHP Ver.
-
Re: Pangya Web Manager - PHP Ver.
-
1 Attachment(s)
Re: Pangya Web Manager - PHP Ver.
Uhm, you're not making it clear shion. What happened ?
//////////////////////
Btw, I had new update. sorry for the long time T_T
In update :
Password change
Nick, guild, and gender change
icon for item, chars, and etc
-
Re: Pangya Web Manager - PHP Ver.
-
Re: Pangya Web Manager - PHP Ver.
Vegas
do you finaly obtained the php for the trade of pang for cookie ?
i need so much this !
sorry by the bad english.
thx
-
Re: Pangya Web Manager - PHP Ver.
-
Re: Pangya Web Manager - PHP Ver.
Wow, My post got Stickied for the first time in my life :P
-> OttoooO
Why ? Is the current web got something wrong ? :eek6:
Mine was working perfectly the way I want . . .
Sry for no update, I can't make the admin page, since I upgraded xampp and errored at the same time, hahaha. Just pray that I can fix this :winky:
-
Re: Pangya Web Manager - PHP Ver.
Quote:
Originally Posted by
vegas_castle
Wow, My post got Stickied for the first time in my life :P
-> OttoooO
Why ? Is the current web got something wrong ? :eek6:
Mine was working perfectly the way I want . . .
Sry for no update, I can't make the admin page, since I upgraded xampp and errored at the same time, hahaha. Just pray that I can fix this :winky:
Vegas, would you mind about adding me in MSN ? I have some projects ...
-
1 Attachment(s)
Re: Pangya Web Manager - PHP Ver.
Newest Update, include equip, lost password -_-
-
Re: Pangya Web Manager - PHP Ver.
Thank your for web pangya
-
Re: Pangya Web Manager - PHP Ver.
sorry, I'm not trying to be rude, but can you tell me how to use your work...?
very apologize, I'm not very used to it >.<
(saya ga begitu mengerti cara makenya, apa ini webshop untuk beli caddie / character? semisalnya iya, tolong saya dituntun dung, cukup bingung jg nih, thx before)
-
Re: Pangya Web Manager - PHP Ver.
@dabriz :
yes, it is. You'll only need a PHP Server(preferrebly XAMPP) assuming you have MsSQL installed already >.<, just extract all of my file into htdocs directory, make a new folder if you like, , start the PHP server, point your web browser to http://localhost/ (if you put it on root) or http://localhost/summon/ (if you extract it to summon folder -.- . I know it's not complete, my college life just got even harder ^^
Yups, anda tepat skali bung! Bisa buat beli char, cadie, club, bola, dll. Coba donlot XAMPP (ask your friendly neighbourhood Google man!), nanti extract file
-
Re: Pangya Web Manager - PHP Ver.
I had an error at the top of the page when acessing "http://localhost/
----------------------------
Warning: include(theme/3_head.jpg/menu.php) [function.include]: failed to open stream: No such file or directory in C:\xampp\htdocs\index.php on line 34
Warning: include() [function.include]: Failed opening 'theme/3_head.jpg/menu.php' for inclusion (include_path='.;C:\xampp\php\pear\') in C:\xampp\htdocs\index.php on line 34
--------------------
How can I make webmanager works??
EDIT:
Making this php webmanager I will be able to buy new itens for version 2.15b right?
I tryed to buy Kooh, Kooh's cothes, Cadie, Decoration and an error appeared:
-----------
"There's a error with your product!"
------------
Making this web manager I'll resolve this?
SeeYa!
-
Re: Pangya Web Manager - PHP Ver.
Please reload the page or close your browser and reopen it. In addittion clear your private data first.
If error still exists please try to use another browser.
Also please open config.php, on line 30, should be like this :
if($_SESSION['style']==""){
$style = "genic_white";
} else {
$style = $_SESSION['style'];
}
and on line 42 should be :
if($_GET['style']){
$_SESSION['style'] = $_GET['style'];
$style = $_SESSION['style'];
}
Regarding error when trying to buy items, on what page the error appears ? Can you send me any details on it ?
I don't seem to remember any word "There's a error with your product!" .....
When the error shows? when putting it on cart or when checking out ?
-
Re: Pangya Web Manager - PHP Ver.
Register.php Erorr : mssql_error
-
Re: Pangya Web Manager - PHP Ver.
LOL did you notice you answered a post from 18-06-2009 ?
That post concerned Season 1 database XD
-
Re: Pangya Web Manager - PHP Ver.
How can I reduce the flow down from where server pangy.