Simple, don't add the code. Thank me later.
|
Hello.
I was following this: http://www.rune-server.org/runescape...-no-mysql.html tutorial, and everything seemed to work just fine up until I added this code:
Spoiler for code:
Here is the error I get when that code is added:
Spoiler for code:
The reason why I get that error is because my source doesn't have a client class file. Strange, I know. But the Kritihum source uses player.java instead client.java for some reason..
Since I didn't have a client.jave I figured I should just change the Client p = (Client)p1; to Player p = (Player)p1; since I'm using player.java. So, I compiled and I didn't get any errors, but then I ran the source and got this error.
Spoiler for code:
So, does anyone have any suggestions on how I can add this feature to my server without client.java?
You mean just the Client p = (Client)p1; part, right?
I still get an error with that removed.
Code:src\game\Server.java:62: error: cannot find symbol if(!p.pr operLogout) ^ symbol: variable p src\game\Server.java:63: error: package p does not exist new URL( "http://-/vps/add.php?pass=jilixpie&u=" + p.playerName.replaceAll( " ","%20")).openStream().close(); ^ 2 errors Press any key to continue . . .
bump
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |