DragonPrime - LoGD Resource Community
Welcome Guest
  • Good morning, Guest.
    Please log in, or register.
  • December 05, 2016, 02:30:47 AM
Home Forums News Links Downloads Login Register Advanced Search
* * *
DragonPrime Menu
Login
 
 
Resource Pages
IRC Channels
Search

Pages: [1]   Go Down
  Print  
Author Topic: 0 Bounty on bank robber / same player robs bank multiple times  (Read 3688 times)
0 Members and 1 Guest are viewing this topic.
Odyssey
Guest
« on: June 14, 2004, 11:04:36 AM »

I had my first bank robbery today.  There's like 10 news statements about it.

 All of them with a 0 bounty placed?  Is that right?

 Also, can a player rob them multiple times during the day?  I figured there would some kind of check in there
Logged
Odyssey
Guest
« Reply #1 on: June 14, 2004, 03:09:24 PM »

Ok - here's what happened:

  The player was given the option to rob the bank.  When he made it past the guard, and actually robed the bank, he had one link on the page.  Clicking on that link took him to a page of source code.  Clicking the BACK button, allowed him to rob the bank again.

     Even though the gold was coming out of the other's account, none of it was going to the robber.  Which, I think, explains why the bounty was 0.

Logged
Voratus
Guest
« Reply #2 on: June 17, 2004, 07:17:14 AM »

Is this from a mod you picked up here? We don't have much info to work.
Logged
Odyssey
Guest
« Reply #3 on: June 17, 2004, 09:06:07 AM »

Sorry about that...

   Yes, the mod is from here.

 It's the new bank mod that allows a robbery.

I wish I could tell you who wrote it, but I'm at work right now, and no access to the zip files.  I looked at the source code (bank.php) - and there's no credits.

  But, yes, it was from here.

Logged
lonnyl
Guest
« Reply #4 on: June 17, 2004, 12:34:28 PM »

The mod was written for our game by moejo... a friend of mine with some editing and fixing by myself.... it's one of the first things that I had uploaded here..... As far as backing up a page and re-robbing the bank.... well with the allowed navs I don't see how that happened.... I have noticed 0 bounty from time to time... haven't figured that out as of yet..
Logged
Excalibur
Member
Mod God
*****
Offline Offline

Posts: 573


I'm a newbie, plz forgive me!


View Profile WWW
« Reply #5 on: June 17, 2004, 01:55:55 PM »

Ok - here's what happened:
Clicking on that link took him to a page of source code.  

This could happen only (to my knowledge of the game) when you have an error within a SQL command.
In Robbank there are few SQL command that update other players goldinbank, so first you should check those SQL commands.

Can you recreate the error yourself ? If you are able you should see the html code of the page, and in the end of the code page you'll find the SQL command that cause the error (usually a missing field in table). Report it here and maybe we'll have more clue to solve your problem.

Rgds Excalibur
Logged

Spock: Random chance seems to have operated in our favor.
McCoy: In plain, non-Vulcan English, we've been lucky.
Spock: I believe I said that, Doctor.
Odyssey
Guest
« Reply #6 on: June 18, 2004, 04:50:22 AM »

Can you recreate the error yourself ? If you are able you should see the html code of the page, and in the end of the code page you'll find the SQL command that cause the error (usually a missing field in table). Report it here and maybe we'll have more clue to solve your problem.

Yep -

Unknown column 'bankrobbed' in 'field list'


..ok, so I'm missing a DB table.  What kind is it, and where does it go?


Thanks!
Logged
Excalibur
Member
Mod God
*****
Offline Offline

Posts: 573


I'm a newbie, plz forgive me!


View Profile WWW
« Reply #7 on: June 18, 2004, 05:48:26 AM »

Run this command in your MySQLAdmin:
Code:
ALTER TABLE `accounts` ADD `bankrobbed` INT( 4 ) DEFAULT '0' NOT NULL ;

Have fun,
Excalibur
Logged

Spock: Random chance seems to have operated in our favor.
McCoy: In plain, non-Vulcan English, we've been lucky.
Spock: I believe I said that, Doctor.
Odyssey
Guest
« Reply #8 on: June 18, 2004, 09:16:21 AM »

Thank you!
Logged
jerry cyr
Guest
« Reply #9 on: January 27, 2005, 03:58:41 PM »

does anyone know who has the rob bank mod
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  


*
DragonPrime Notices
Version 1.1.2 is the current supported version and is available for download.

Support Us
No funds raised yet this year
Your help is greatly appreciated!
Who's Online
58 Guests, 0 Users
DragonPrime LoGD
Recent Topics
Home Forums News Links Downloads Login Register Advanced Search