vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=5)
-   -   RPG Integration Hack /w Battle (BETA) (https://vborg.vbsupport.ru/showthread.php?t=46417)

jakob330 09-23-2003 12:33 PM

Quote:

Originally Posted by Bitsys
Quote:

Originally Posted by jakob330
FYI,

We had a user that managed to hack into his bank account and
"deposited" 64,000,000 gil.
He then made mass donations, and almost destroyed the economy.
Still trying to figure out how he did it...
Beware... The word is out.


Please let me know if you find out anything else.

It's the use of negative numbers, in general, battle wagers, etc.. is a problem.

Here's how we got ripped
Personal shop accounts can go into the negative.(no limit)

I'm member "A", I logon/signin as a new member,"B".
"A" Donates a pile of cash to "B".

Late at nite when nobody's around..
"B" opens a personal shop and sells items for -10,000.
(any negative number will do..)

"A" buys the items which adds 10,000 in his account with every purchase. There is no limit to how much can be taken..

Our solution, no personal shops... (unhappy members)
we'd like to have personal shops,
AND even better, personal shops with battle items that work....

negative number battle wagers is still a problem but only hurts
the person that does it...

sweet22 09-23-2003 07:04 PM

how do i fix my battle system?

Madacc 09-23-2003 07:25 PM

Quote:

Originally Posted by Triade
Here is my first try to modify a hack.

I tested a lot, and i think it works.

In the txt you find all the instructions.

What this do?

The original personal shop, allows to have an item the don't do nothing in battle. With this hack, you can build items with bonus in battle (the bonus is in the attack now).

to prevent a user make an item with bonus 9999 selling it at 1 gil, the hack put a cost on the item.
a user spent X gil for 1 point of bonus (the x, is now 10 gil, but it can be modifyed in the admin CP in itemshop options)

to prevent a lvl 1 user, use an item with bonus +1000, the hack set a level for the item (level to use= bonus damage/X) where X is set by the admin by admin CP. Now i set this to 100.


I hope this help you to make more fun your rpg :D

P.S: If you have trouble, message me. It' s the first time, i modify a hack (really is the first time i program in php :D) so be gentle :P

You said

Quote:

Modifyed files

admin/itemadmin.php
itemshop.php
battleupdate.php

Modifyed Templates

itemshop_persform
itemshop_its


Addad Templates

itemshop_error-nomoney
itemshop_error-alreadyhave
but you didn't say what to modify or add to the templates. It's giving me a parsing error and I think it's because of this. Anyone fix this?

sweet22 09-24-2003 05:42 PM

i need help fixing my battle system. it wont let opponents log into the battles! wuts wrong?

Madacc 09-25-2003 06:05 PM

For some reason, even though I tried the $key1 fix.. battles only work if I type in a password.. otherwise I get the error "Invalid Password or Battle ID" or whatever

sweet22 09-25-2003 06:24 PM

Quote:

Originally Posted by Madacc
For some reason, even though I tried the $key1 fix.. battles only work if I type in a password.. otherwise I get the error "Invalid Password or Battle ID" or whatever

you always have to have a password. so basically i dont think thats a problem.

Bitsys 09-25-2003 09:49 PM

Quote:

Originally Posted by Me!
Bitsy I have a question about the newest version, it says 68C the last one I upgraded to was V68, the upgrade instructions included with 68C don't say what to do when upgrading from 68 to 68C. It just calls 68C "68" does that mean I don't need to bother with this upgrade?

Version numbers that contain a letter after the number means you only have to re-upload certain files. In this case, I believe you have to re-upload battlefight.php and battleupdate.php, as stated in the first post. I am too sure about this right now though since I still don't have my hard drive back.

Quote:

Originally Posted by SteveDodge
can you put a feature where users at battle have limited Draw request? cause one of my members found out how to gain level ups easy by issueing draw endlessly, i had activate exp on batlle post, can this be done?

It can be done, but not very easily. I would suggest using Telchar's method ( https://vborg.vbsupport.ru/showpost....postcount=2311 ). or diabling exp per battle post.

Quote:

Originally Posted by sweet22
Ok for some reason my battle system isnt working! I can create battles and such but when my opponent tries to enter the battle is says wrong battle # or password. It wont let anyone battle basically=( how do i fix this?

What happens when you try to enter the battle? Do you get the same message?

Does the battle show up in the admin CP? Does the opponent get a PM, if so, does it contain the correct information about the battle?

I wish I could look into this problem for ya, but I still don't have my hard drive.

Quote:

Originally Posted by eXentriC_nova
its from the rpgcp


In that case, you may be experiencing a problem that several other users have reported. The problem goes all the way back to the original Itemshop, which this hack also uses. It seems that some people's servers fail to initialize certain variables passed to the donate script by the user. I currently do not have a solution to this problem, but it has been discussed both here and at the Itemshop thread several times, if you want to do a search on it.

Quote:

Originally Posted by jakob330
It's the use of negative numbers, in general, battle wagers, etc.. is a problem.

Here's how we got ripped
Personal shop accounts can go into the negative.(no limit)

I'm member "A", I logon/signin as a new member,"B".
"A" Donates a pile of cash to "B".

Late at nite when nobody's around..
"B" opens a personal shop and sells items for -10,000.
(any negative number will do..)

"A" buys the items which adds 10,000 in his account with every purchase. There is no limit to how much can be taken..

Our solution, no personal shops... (unhappy members)
we'd like to have personal shops,
AND even better, personal shops with battle items that work....

negative number battle wagers is still a problem but only hurts
the person that does it...

A fix for negative battle wagers was posted a while back. I am not sure of the exact location in this thread but it is there.

Negative personal Itemshop items should have been fixed in version .68. Although I can't test this right now (hard drive...), I can see that the code is there:
PHP Code:

                    if ($val3 0)
                    {
                        
$val3 0;
                    } 

So, can you verify that users can put negative costs for personal itemshop items using the latest version of my hack?

Quote:

Originally Posted by Madacc
For some reason, even though I tried the $key1 fix.. battles only work if I type in a password.. otherwise I get the error "Invalid Password or Battle ID" or whatever

Is this with private battles on or off?

sweet22 09-25-2003 10:04 PM

they have the correct password and they receive the pms.

edit: hmmmmmmm odd.... in acp it shows the battle but the box for a password doesnt have anything in it=( y doesnt it show the password i write in from the new battle page?

edit2: ok the password i type in isnt showing up anywhere including pms.

Madacc 09-25-2003 10:58 PM

Quote:

Originally Posted by Bitsys
Is this with private battles on or off?

Off

Madacc 09-26-2003 01:04 AM

Has anyone manipulated their code so you can only select your character once rather than just being able to go there and change your character anytime you want? That is kinda stupid cause then you really don't get a feel of "building" your character. If anyone has manipulated their code, please let me know what you editted so I can change my code too please. Thanks!


All times are GMT. The time now is 03:27 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02786 seconds
  • Memory Usage 1,766KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete