Page 1 of 2

problem

Posted: Sun Apr 25, 2010 8:02 pm
by ZeroComp
I get this error with localhost


Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'root'@'localhost' (using password: YES) in C:\wamp\www\urban\connect.php on line 3
Could not connect.

Re: problem

Posted: Sun Apr 25, 2010 11:19 pm
by hallsofvallhalla
change your password in connect.php

if you noticed i left mine in there "NEWPASSWORD" you probably just need to delete it all together. leave it ""

Re: problem

Posted: Thu Apr 29, 2010 3:37 pm
by Kintama
kk i have a problem when i loged into it i get all this

Code: Select all

Notice: Undefined variable: bypassmap in C:\wamp\www\Dark Wars\index.php on line 363

Notice: Undefined index: shid in C:\wamp\www\Dark Wars\index.php on line 373

Notice: Undefined index: pid in C:\wamp\www\Dark Wars\index.php on line 374

Notice: Undefined index: shid in C:\wamp\www\Dark Wars\index.php on line 373

Notice: Undefined index: pid in C:\wamp\www\Dark Wars\index.php on line 374

Notice: Undefined index: shid in C:\wamp\www\Dark Wars\index.php on line 373

Notice: Undefined index: pid in C:\wamp\www\Dark Wars\index.php on line 374

Notice: Undefined index: shid in C:\wamp\www\Dark Wars\index.php on line 373

Notice: Undefined index: pid in C:\wamp\www\Dark Wars\index.php on line 374

Notice: Undefined index: shid in C:\wamp\www\Dark Wars\index.php on line 373

Notice: Undefined index: pid in C:\wamp\www\Dark Wars\index.php on line 374

Notice: Undefined index: shid in C:\wamp\www\Dark Wars\index.php on line 373

Notice: Undefined index: pid in C:\wamp\www\Dark Wars\index.php on line 374

Notice: Undefined index: shid in C:\wamp\www\Dark Wars\index.php on line 373

Notice: Undefined index: pid in C:\wamp\www\Dark Wars\index.php on line 374

Notice: Undefined index: shid in C:\wamp\www\Dark Wars\index.php on line 373

Notice: Undefined index: pid in C:\wamp\www\Dark Wars\index.php on line 374

Notice: Undefined index: shid in C:\wamp\www\Dark Wars\index.php on line 373

Notice: Undefined index: pid in C:\wamp\www\Dark Wars\index.php on line 374

Notice: Undefined index: shid in C:\wamp\www\Dark Wars\index.php on line 373

Notice: Undefined index: pid in C:\wamp\www\Dark Wars\index.php on line 374

Notice: Undefined index: shid in C:\wamp\www\Dark Wars\index.php on line 373

Notice: Undefined index: pid in C:\wamp\www\Dark Wars\index.php on line 374

Notice: Undefined index: shid in C:\wamp\www\Dark Wars\index.php on line 373

Notice: Undefined index: pid in C:\wamp\www\Dark Wars\index.php on line 374

Notice: Undefined index: shid in C:\wamp\www\Dark Wars\index.php on line 373

Notice: Undefined index: pid in C:\wamp\www\Dark Wars\index.php on line 374

Notice: Undefined index: shid in C:\wamp\www\Dark Wars\index.php on line 373

Notice: Undefined index: pid in C:\wamp\www\Dark Wars\index.php on line 374

Notice: Undefined index: shid in C:\wamp\www\Dark Wars\index.php on line 373

Notice: Undefined index: pid in C:\wamp\www\Dark Wars\index.php on line 374

Notice: Undefined index: shid in C:\wamp\www\Dark Wars\index.php on line 373

Notice: Undefined index: pid in C:\wamp\www\Dark Wars\index.php on line 374

Notice: Undefined index: shid in C:\wamp\www\Dark Wars\index.php on line 373

Notice: Undefined index: pid in C:\wamp\www\Dark Wars\index.php on line 374

Notice: Undefined index: shid in C:\wamp\www\Dark Wars\index.php on line 373

Notice: Undefined index: pid in C:\wamp\www\Dark Wars\index.php on line 374

Notice: Undefined index: shid in C:\wamp\www\Dark Wars\index.php on line 373

Notice: Undefined index: pid in C:\wamp\www\Dark Wars\index.php on line 374

Notice: Undefined index: shid in C:\wamp\www\Dark Wars\index.php on line 373

Notice: Undefined index: pid in C:\wamp\www\Dark Wars\index.php on line 374

Notice: Undefined index: shid in C:\wamp\www\Dark Wars\index.php on line 373

Notice: Undefined index: pid in C:\wamp\www\Dark Wars\index.php on line 374

Notice: Undefined index: shid in C:\wamp\www\Dark Wars\index.php on line 373

Notice: Undefined index: pid in C:\wamp\www\Dark Wars\index.php on line 374

Notice: Undefined index: shid in C:\wamp\www\Dark Wars\index.php on line 373

Notice: Undefined index: pid in C:\wamp\www\Dark Wars\index.php on line 374

Notice: Undefined index: shid in C:\wamp\www\Dark Wars\index.php on line 373

Notice: Undefined index: pid in C:\wamp\www\Dark Wars\index.php on line 374

Notice: Undefined index: shid in C:\wamp\www\Dark Wars\index.php on line 373

Notice: Undefined index: pid in C:\wamp\www\Dark Wars\index.php on line 374
and i also get this error

Code: Select all

Notice: Undefined index: pclass in C:\wamp\www\DarkWars\statpanel.php on line 7


Re: problem

Posted: Thu Apr 29, 2010 4:33 pm
by hallsofvallhalla
change this
at line 41

Code: Select all

<div id="maparea">
<?php
to this

Code: Select all

<div id="maparea">
<?php
$bypassmap=0;
delete these lines at 373 and 374

Code: Select all

$shopid = $mapinfo3['shid']
$pid = $mapinfo3['pid']

for statpanel simply delete the line at 7

Code: Select all

echo $playerinfo3['pclass'] . "<br>";

these were items or features I was going to add but never got around too and never took out of the code ;)

Re: problem

Posted: Thu Apr 29, 2010 4:47 pm
by Kintama
kk ill try it now



*thanks that worked*

Re: problem

Posted: Thu Apr 29, 2010 4:58 pm
by Kintama
ok now i have a new problem on the

locations.php

Code: Select all

Notice: Undefined variable: bypass in C:\wamp\www\DarkWars\locations.php on line 1418

Welcome to my Apparel

Code: Select all

Notice: Undefined variable: bypass in C:\wamp\www\DarkWars\locations.php on line 895

Welcome to Cafe

Code: Select all

Notice: Undefined variable: bypass in C:\wamp\www\DarkWars\locations.php on line 549

Welcome to my Sporting Goods
Notice: Undefined variable: bypass in C:\wamp\www\DarkWars\locations.php on line 715

Welcome to my Clothing Store

Code: Select all

Notice: Undefined variable: bypass in C:\wamp\www\DarkWars\locations.php on line 1237

Welcome to my workshop

Code: Select all

Notice: Undefined variable: bypass in C:\wamp\www\DarkWars\locations.php on line 252

Welcome to my Doctors Office
also i was wonder if there is a way to add more map land cuz i had an idear

Re: problem

Posted: Thu Apr 29, 2010 5:01 pm
by Kintama
sorry for the Dubble post :S

Re: problem

Posted: Thu Apr 29, 2010 9:08 pm
by hallsofvallhalla
just do the same as the first post, add

Code: Select all

$bypass = 0;
same place as above is fine.


it is asking for a $bypass variable that has not been defined. Just need to define it.

Re: problem

Posted: Thu Apr 29, 2010 9:41 pm
by Kintama
ooo lol i did not notic that on the 1s you changed the 1 to a 0 ^^

Re: problem

Posted: Thu Apr 29, 2010 9:47 pm
by Kintama
also well you be doing a tut on how to make more map area like i you press up or somthink you go there or my way i thort of


like you have to catch a train with cost money to go to lets just call it "neighborhood" or if you buy a car you can drive there somthink like that and on the "neighborhood" is were player can build there homes and what not so if you cuz make some tut on it when you have time i would be very greatfull :mrgreen:


"Also when i go into a shop and click the add item button all of the tables background colors are black like were it ses the name of it i carnt see it cuz both font and background on the tables are black how d i change it 2 white so i can see it"