problem

All code and questions for Urban Realms, Forsaken Sanctum, ect...
ZeroComp
Posts: 648
Joined: Thu Oct 29, 2009 8:48 pm

problem

Post 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.
Coding-PHP, Javascript, C++, HTML, mySQL
Modeling/Art-Blender, GIMP
Games-Unity, Game Maker 8
User avatar
hallsofvallhalla
Site Admin
Posts: 12023
Joined: Wed Apr 22, 2009 11:29 pm

Re: problem

Post 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 ""
Kintama
Posts: 50
Joined: Mon Nov 16, 2009 9:41 pm

Re: problem

Post 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

User avatar
hallsofvallhalla
Site Admin
Posts: 12023
Joined: Wed Apr 22, 2009 11:29 pm

Re: problem

Post 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 ;)
Kintama
Posts: 50
Joined: Mon Nov 16, 2009 9:41 pm

Re: problem

Post by Kintama »

kk ill try it now



*thanks that worked*
Kintama
Posts: 50
Joined: Mon Nov 16, 2009 9:41 pm

Re: problem

Post 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
Kintama
Posts: 50
Joined: Mon Nov 16, 2009 9:41 pm

Re: problem

Post by Kintama »

sorry for the Dubble post :S
User avatar
hallsofvallhalla
Site Admin
Posts: 12023
Joined: Wed Apr 22, 2009 11:29 pm

Re: problem

Post 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.
Kintama
Posts: 50
Joined: Mon Nov 16, 2009 9:41 pm

Re: problem

Post by Kintama »

ooo lol i did not notic that on the 1s you changed the 1 to a 0 ^^
Kintama
Posts: 50
Joined: Mon Nov 16, 2009 9:41 pm

Re: problem

Post 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"
Post Reply

Return to “Hall's Games”