New link in the top of page "IRC Chat". |
Register | Login | |||||
Main
| Memberlist
| Active users
| Calendar
| Last Posts
| IRC Chat
| Online users Ranks | FAQ | XPW | Stats | Color Chart | Photo album |
| |
Xeogaming Forums - - Posts by coolman |
Pages: 1 2 3 |
User | Post | ||
coolman Red Goomba Since: 07-29-06 Since last post: 6602 days Last activity: 6502 days |
| ||
Im new,what acmlm version is this one? | |||
coolman Red Goomba Since: 07-29-06 Since last post: 6602 days Last activity: 6502 days |
| ||
Im using v1.92 and the admin control panel but I cant acces the admin control panel,there is a link at the top of the page "admin" but doesnt works either,does the admin panel works with v1.92?
And the stats they are not there,do I have to change versions? edit:How do I add ranks and how do I change the profile to look like the one in this board? (Last edited by firedude on 07-30-06 01:48 PM) |
|||
coolman Red Goomba Since: 07-29-06 Since last post: 6602 days Last activity: 6502 days |
| ||
Why you dont suggest 1.a2? I already have it and got a problem after configuring everything:
Warning: main(/lib/dbinfo.php): failed to open stream: No such file or directory in /home/www/elvort.freehostia.com/lib/config.php on line 10 Fatal error: main(): Failed opening required '/lib/dbinfo.php' (include_path='.:/usr/local/lib/php') in /home/www/elvort.freehostia.com/lib/config.php on line 10 |
|||
coolman Red Goomba Since: 07-29-06 Since last post: 6602 days Last activity: 6502 days |
| ||
Does anyone else knows?
Anyone?Plese help. Again anyone? (Last edited by firedude on 07-30-06 09:39 PM) |
|||
coolman Red Goomba Since: 07-29-06 Since last post: 6602 days Last activity: 6502 days |
| ||
If this is 1.92 then can you give me a link to the php file that makes the profile looks like its here,and the stats too. | |||
coolman Red Goomba Since: 07-29-06 Since last post: 6602 days Last activity: 6502 days |
| ||
I fixed the other problem now I get this:
Parse error: parse error, unexpected $ in /home/www/elvort.freehostia.com/lib/config.php on line 6 I dont get that. |
|||
coolman Red Goomba Since: 07-29-06 Since last post: 6602 days Last activity: 6502 days |
| ||
Does the admin panel allow me to addforums with out having to mess with sql?
And my problem still inst fixed. Parse error: parse error, unexpected $ in /home/www/elvort.freehostia.com/lib/config.php on line 6 |
|||
coolman Red Goomba Since: 07-29-06 Since last post: 6602 days Last activity: 6502 days |
| ||
Problem fixed and about the admin I added the files in the "admin+" folder that can be found here so will it work with those files?
New problem: Warning: main(config.php): failed to open stream: No such file or directory in /home/www/elvort.freehostia.com/lib/function.php on line 7 Fatal error: main(): Failed opening required 'config.php' (include_path='.:/usr/local/lib/php') in /home/www/elvort.freehostia.com/lib/function.php on line 7 Please help |
|||
coolman Red Goomba Since: 07-29-06 Since last post: 6602 days Last activity: 6502 days |
| ||
V 1.92 Was millions of times easier to set up but I have some questions.
The admin link doesnt work. I added the "admin+" files but dont know how to make them work? I add the php files for more shemes but how do I make them usable? Does anyone has the files for the stats and itemshop? Does anyone has the files to make the profile look like it does here? Thanks in advance. |
|||
coolman Red Goomba Since: 07-29-06 Since last post: 6602 days Last activity: 6502 days |
| ||
I have the stats.php but I want it to make the hp,mp,atk and those thing not just the level and exp.
And no I dont have shop.php About the admin thing I told you I downloaded a zip file containing files like: addforum.php,addcat.php. I downloaded it from this site,but dont know how to make it work. |
|||
coolman Red Goomba Since: 07-29-06 Since last post: 6602 days Last activity: 6502 days |
| ||
I have "stats.php" not "status.php" but I found it in 1.a2 okay I upload status.php but I supose I will need gif's and images to make it work.Or will the status only do it?
curently adding smilies.About 8 smilies have been added so far. |
|||
coolman Red Goomba Since: 07-29-06 Since last post: 6602 days Last activity: 6502 days |
| ||
What I mean is that I will need the images for it if I put that tag in my site it will give me an "X" I need the images for the stats. | |||
coolman Red Goomba Since: 07-29-06 Since last post: 6602 days Last activity: 6502 days |
| ||
When I go to the databases to add categories and forums I allways get an mysql syntax error message,when I hit "go"
edit:helooo (Last edited by coolman on 08-02-06 09:17 PM) |
|||
coolman Red Goomba Since: 07-29-06 Since last post: 6602 days Last activity: 6502 days |
| ||
yeah but where do I find it? | |||
coolman Red Goomba Since: 07-29-06 Since last post: 6602 days Last activity: 6502 days |
| ||
I downloaded the zip file "Admin+" found in "www.xeogaming.net" but I dont know how to make it work,I uploaded the files but they do nothing,does it work in v1.92?
How do I make the php files work. edit:How do I change the syndromes?Where are they? (Last edited by coolman on 08-03-06 05:18 PM) |
|||
coolman Red Goomba Since: 07-29-06 Since last post: 6602 days Last activity: 6502 days |
| ||
I did upload them in a folder named admin,what im trying to say is that I dont have acces to them I type this in board:
/admin/addforum.php /admin/index.php /addforum.php and none of them work. I uploaded the files again and now I get this message when I go to /admin/index.php: Warning: main(lib/config.php): failed to open stream: No such file or directory in /home/www/fireboard2.awardspace.com/lib/function.php on line 5 Fatal error: main(): Failed opening required 'lib/config.php' (include_path='.:/usr/local/php4/share/pear') in /home/www/fireboard2.awardspace.com/lib/function.php on line 5 And yes config.php is in the lib folder. (Last edited by coolman on 08-03-06 05:57 PM) |
|||
coolman Red Goomba Since: 07-29-06 Since last post: 6602 days Last activity: 6502 days |
| ||
hellooooo. | |||
coolman Red Goomba Since: 07-29-06 Since last post: 6602 days Last activity: 6502 days |
| ||
I found that the admin+ doesnt works in 1.92 so again I switch back to 1.a2 and installed it succesfully,yes no errors,but I need suggestions to make the board look cooler. Thing I want:
More ranks only one I have,with the sql file if possible More shemes. Updates,like new features or hacks. A way to make the profile look like it does in acmlm board I want the stats,not just level,exp and posts I want the hp,mp,pow,ect... Any links to those things? edit:someone told me tha I just put "< ing src=http://board.xeogaming.net/status.php?u=515 >" Without the spaces and "n" In my board and I get the status thing,I changed the url and the id to 1 that is mine but I get an "X" instead of the status,any help? edit2: I kept trying and followed the url to see if it appeared and got this: Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 11 Warning: Cannot modify header information - headers already sent by (output started at /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php:11) in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 20 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 22 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 23 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 24 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 25 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 26 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 28 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 29 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 30 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 31 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 32 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 33 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 34 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 35 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 36 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 37 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 38 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 39 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 40 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 41 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 42 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 43 Warning: Cannot use a scalar value as an array in /home/firedude/domains/tnfireboard.mihopa.net/public_html/status.php on line 44 PNG IHDR۟HbPLTE((Z What should I do? (Last edited by coolman on 08-07-06 10:21 PM) |
|||
coolman Red Goomba Since: 07-29-06 Since last post: 6602 days Last activity: 6502 days |
| ||
I havent touched that file. | |||
coolman Red Goomba Since: 07-29-06 Since last post: 6602 days Last activity: 6502 days |
| ||
this is the status.php file:
require 'lib/function.php'; require 'lib/rpg.php'; if(!$u) die(); $user=mysql_fetch_array(mysql_query("SELECT name,posts,regdate,users_rpg.* FROM users,users_rpg WHERE id=$u AND uid=id")); $p=$user[posts]; $d=(ctime()-$user[regdate])/86400; if(!$it) $it=0; $eqitems=mysql_query("SELECT * FROM items WHERE id=$user[eq1] OR id=$user[eq2] OR id=$user[eq3] OR id=$user[eq4] OR id=$user[eq5] OR id=$user[eq6] OR id=$it"); while($item=mysql_fetch_array($eqitems)) $items[$item[id]]=$item; if($ct){ $GPdif=floor($items[$user['eq'.$ct]][coins]*0.6)-$items[$it][coins]; $user['eq'.$ct]=$it; } $st=getstats($user,$items); $st[GP]+=$GPdif; if($st[lvl]>0) $pct=1-calcexpleft($st[exp])/totallvlexp($st[lvl]); Header('Content-type:image/png'); $img=ImageCreate(256,224); $c[bg]= ImageColorAllocate($img, 40, 40, 90); $c[bxb0]=ImageColorAllocate($img, 0, 0, 0); $c[bxb1]=ImageColorAllocate($img,225,200,180); $c[bxb2]=ImageColorAllocate($img,190,160,130); $c[bxb3]=ImageColorAllocate($img,130,110, 90); for($i=0;$i<100;$i++) $c[$i]=ImageColorAllocate($img,10,16,80+$i); $c[barE1]=ImageColorAllocate($img,120,150,180); $c[barE2]=ImageColorAllocate($img, 30, 60, 90); $c[bar1][1]=ImageColorAllocate($img,215, 91,129); $c[bar2][1]=ImageColorAllocate($img, 90, 22, 43); $c[bar1][2]=ImageColorAllocate($img,255,136,154); $c[bar2][2]=ImageColorAllocate($img,151, 0, 38); $c[bar1][3]=ImageColorAllocate($img,255,139, 89); $c[bar2][3]=ImageColorAllocate($img,125, 37, 0); $c[bar1][4]=ImageColorAllocate($img,255,251, 89); $c[bar2][4]=ImageColorAllocate($img, 83, 81, 0); $c[bar1][5]=ImageColorAllocate($img, 89,255,139); $c[bar2][5]=ImageColorAllocate($img, 0,100, 30); $c[bar1][6]=ImageColorAllocate($img, 89,213,255); $c[bar2][6]=ImageColorAllocate($img, 0, 66, 93); $c[bar1][7]=ImageColorAllocate($img,196, 33, 33); $c[bar2][7]=ImageColorAllocate($img, 70, 12, 12); ImageColorTransparent($img,0); box( 0, 0,2+strlen($user[name]),3); box( 0, 4,32, 4); box( 0, 9,32, 9); box( 0,19,11, 9); box(12,19,11, 6); $fontY=fontc(255,250,240, 255,240, 80, 0, 0, 0); $fontR=fontc(255,230,220, 240,160,150, 0, 0, 0); $fontG=fontc(190,255,190, 60,220, 60, 0, 0, 0); $fontB=fontc(160,240,255, 120,190,240, 0, 0, 0); $fontW=fontc(255,255,255, 210,210,210, 0, 0, 0); twrite($fontW, 1, 1,0,"$user[name]"); twrite($fontB, 1, 5,0,'HP: /'); twrite($fontR, 3, 5,7,$st[HP]); twrite($fontY,11, 5,5,$st[HP]); twrite($fontB, 1, 6,0,'MP: /'); twrite($fontR, 3, 6,7,$st[MP]); twrite($fontY,11, 6,5,$st[MP]); for($i=2;$i<9;$i++){ twrite($fontB, 1,8+$i,0,"$stat[$i]:"); twrite($fontY, 4,8+$i,6,$st[$stat[$i]]); } twrite($fontB, 1,20,0,'Level'); twrite($fontY, 6,20,4,$st[lvl]); twrite($fontB, 1,22,0,'EXP:'); twrite($fontY, 1,23,9,$st[exp]); twrite($fontB, 1,24,0,'Next:'); twrite($fontY, 1,25,9,calcexpleft($st[exp])); twrite($fontB,13,20,0,'Coins:'); twrite($fontY,13,22,0,chr(0)); twrite($fontG,13,23,0,chr(0)); twrite($fontY,14,22,8,$st[GP]); twrite($fontG,14,23,8,0); $sc[1]= 1; $sc[2]= 5; $sc[3]= 25; $sc[4]= 100; $sc[5]= 250; $sc[6]= 500; $sc[7]=1000; $sc[8]=99999999; bars(); ImagePNG($img); ImageDestroy($img); function twrite($font,$x,$y,$l,$text){ global $img; $x*=8; $y*=8; $text.=''; if(strlen($text)<$l) $x+=($l-strlen($text))*8; for($i=0;$i ImageCopyResized($img,$font,$i*8+$x,$y,(ord($text[$i])%16)*8,floor(ord($text[$i])/16)*8,8,8,8,8); } function fontc($r1,$g1,$b1,$r2,$g2,$b2,$r3,$g3,$b3){ $font=ImageCreateFromPNG('images/rpg/font.png'); ImageColorTransparent($font,1); ImageColorSet($font,6,$r1,$g1,$b1); ImageColorSet($font,5,($r1*2+$r2)/3,($g1*2+$g2)/3,($b1*2+$b2)/3); ImageColorSet($font,4,($r1+$r2*2)/3,($g1+$g2*2)/3,($b1+$b2*2)/3); ImageColorSet($font,3,$r2,$g2,$b2); ImageColorSet($font,0,$r3,$g3,$b3); return $font; } function box($x,$y,$w,$h){ global $img,$c; $x*=8; $y*=8; $w*=8; $h*=8; ImageRectangle($img,$x+0,$y+0,$x+$w-1,$y+$h-1,$c[bxb0]); ImageRectangle($img,$x+1,$y+1,$x+$w-2,$y+$h-2,$c[bxb3]); ImageRectangle($img,$x+2,$y+2,$x+$w-3,$y+$h-3,$c[bxb1]); ImageRectangle($img,$x+3,$y+3,$x+$w-4,$y+$h-4,$c[bxb2]); ImageRectangle($img,$x+4,$y+4,$x+$w-5,$y+$h-5,$c[bxb0]); for($i=5;$i<$h-5;$i++){ $n=(1-$i/$h)*100; ImageLine($img,$x+5,$y+$i,$x+$w-6,$y+$i,$c[$n]); } } function bars(){ global $st,$img,$c,$sc,$pct,$stat; for($s=1;@(max($st[HP],$st[MP])/$sc[$s])>113;$s++){} if(!$sc[$s]) $sc[$s]=1; ImageFilledRectangle($img,137,41,136+$st[HP]/$sc[$s],47,$c[bxb0]); ImageFilledRectangle($img,137,49,136+$st[MP]/$sc[$s],55,$c[bxb0]); ImageFilledRectangle($img,136,40,135+$st[HP]/$sc[$s],46,$c[bar1][$s]); ImageFilledRectangle($img,136,48,135+$st[MP]/$sc[$s],54,$c[bar1][$s]); for($i=2;$i<9;$i++) $st2[$i]=$st[$stat[$i]]; for($s=1;@(max($st2)/$sc[$s])>161;$s++){} if(!$sc[$s]) $sc[$s]=1; for($i=2;$i<9;$i++){ ImageFilledRectangle($img,89,65+$i*8,88+$st[$stat[$i]]/$sc[$s], 71+$i*8,$c[bxb0]); ImageFilledRectangle($img,88,64+$i*8,87+$st[$stat[$i]]/$sc[$s], 70+$i*8,$c[bar1][$s]); } $e1=72*$pct; ImageFilledRectangle($img,9,209,8+72,215,$c[bxb0]); ImageFilledRectangle($img,8,208,7+72,214,$c[barE2]); ImageFilledRectangle($img,8,208,7+$e1,214,$c[barE1]); } ?> I see no problem in none of those lines. |
Pages: 1 2 3 |
Xeogaming Forums - - Posts by coolman |