vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   RPG Integration Hack (https://vborg.vbsupport.ru/showthread.php?t=108790)

Darkfire122333 05-17-2006 01:22 AM

what would you rather revan.. it all in the php file or it in the template still? either/or can be done by me :D

dt~ 05-17-2006 03:44 AM

Hi all,

I have a very cute looking girlfriend, and we have been together for 2 years. Recently, her attitute changed. She began to reply with only a few words through the phone, and sometimes not even online when I attemp to chat with her throughout the night.

Feeling worried, I started to check on her handphone calls oftenly. To my surprise, there is another guy who have kept calling her since the past few months. She explained to me that he is only one of her college friends. My suspicion grew. Worse, she cancelled our date today with a reason that she will be busy.

Frustrated, I drive to her place this morning and parked myself near her apartment. I wish to see what she is doing while playing with my laptop. After a few hours, a handsome guy appeared with a bunch of roses on his hand. To my surprise, he was heading in the direction to my girlfriend's place! I attemp to rush out and dropped my laptop accidentally. I noticed that the laptop screen displayed a "Invalid Battle ID" message.

So besides waiting for the next release is there anything I can do about it?

Revan 05-17-2006 08:50 AM

Quote:

Originally Posted by Darkfire122333
what would you rather revan.. it all in the php file or it in the template still? either/or can be done by me :D

Well if you're talking about the frontend then in the template would be good, if in the AdminCP then obviously in the php file :)
Quote:

Originally Posted by dt~
Hi all,

I have a very cute looking girlfriend, and we have been together for 2 years. Recently, her attitute changed. She began to reply with only a few words through the phone, and sometimes not even online when I attemp to chat with her throughout the night.

Feeling worried, I started to check on her handphone calls oftenly. To my surprise, there is another guy who have kept calling her since the past few months. She explained to me that he is only one of her college friends. My suspicion grew. Worse, she cancelled our date today with a reason that she will be busy.

Frustrated, I drive to her place this morning and parked myself near her apartment. I wish to see what she is doing while playing with my laptop. After a few hours, a handsome guy appeared with a bunch of roses on his hand. To my surprise, he was heading in the direction to my girlfriend's place! I attemp to rush out and dropped my laptop accidentally. I noticed that the laptop screen displayed a "Invalid Battle ID" message.

So besides waiting for the next release is there anything I can do about it?

That depends entirely on where you see this Invalid Battle ID message. Did she attempt to continue an apparently finished Monster Battle after making out with her lover? I'm not sure if I seperated the error messages from the Monster Arena and the Battle Arena.

dt~ 05-17-2006 12:01 PM

Quote:

Originally Posted by Revan
That depends entirely on where you see this Invalid Battle ID message. I'm not sure if I seperated the error messages from the Monster Arena and the Battle Arena.

After adding your hack, there were hundreds of users from my end who support it and invested their time with enthusiasm. Unfortuantely, similiar cases starts appearing - A "Battle no. xx does not exist" message. We could not join a Battle arena nor a monster arena. I don't think it's realistic to sit and wait for the next release, because the heat has only started.

I seek for your kind assistance to offer a help on this problem. For example, maybe you can provide a simple php script which can create battle IDs, or making a user's character 'free' to participate in another battle by dropping his current (invalid) ones. I have read through all user notes from V3.0 to NeoMaterial, hence writing here is the last option.

Looking forward for your reply, Thanks!
Aka.

Darkfire122333 05-17-2006 03:44 PM

Finished the Manual. Have sent Revan a PM with the url to it and a demo. I hope you like it Revan!

jon_argent 05-18-2006 07:45 PM

Quote:

Originally Posted by Darkfire122333
i do not know how to fix number 2, but number one is easy, all you do is go ont your admincp liuke usual, edit the user, there is a new table for the store cash, just edit that, and you will be "awarded" that cash. also if you are running vbplaza, then all you have to do is go to "admin donate" in the vbplaza dropdown in the navbar and you can do it there! ease as pie!

I didn't mean as a one off, I meant to edit the amount of currency each player would start off with? Is this possible?

coRtALoS 05-19-2006 09:27 PM

I'm getting an error when trying to install this on 3.5.3

Code:

Database error in vBulletin 3.5.3:

Invalid SQL:

INSERT INTO rpg_items
        (`categoryid`, `itemname`, `cost`, `description`, `icon`, `stock`, `sold`, `damage`, `itemorder`, `itemtype`, `levelreq`, `extra`)
VALUES
        (1, 'Dagger', 320, 'Weapon used by thieves', 'dagger', 34, 0, 0, 0, '1', 0, '0,0,0,0,0,0'),
        (1, 'Mage Masher', 200, 'Weapon originally used for combating mages', 'dagger', 6, 0, 0, 0, '1', 0, '0,0,0,0,0,0'),
        (1, 'Mythril Dagger', 950, 'Thief dagger made of mythril', 'dagger', 4, 0, 0, 0, '1', 0, '0,0,0,0,0,0'),
        (1, 'Butterfly Sword', 300, 'Standard thief sword', 'thiefsword', 6, 0, 0, 0, '1', 0, '0,0,0,0,0,0'),
        (1, 'The Ogre', 700, 'Standard thief sword', 'thiefsword', 6, 0, 0, 0, '1', 0, '0,0,0,0,0,0'),
        (1, 'Masamune', 5600, 'Sword from a foreign land', 'thiefsword', 7, 0, 0, 0, '1', 0, '0,0,0,0,0,0'),
        (1, 'Air Racket', 400, 'Long-range combat racket.', 'racket', 21, 0, 0, 0, '1', 0, '0,0,0,0,0,0'),
        (1, 'Rod', 260, 'Combat Rod', 'rod', 7, 0, 0, 0, '1', 0, '0,0,0,0,0,0'),
        (1, 'Mythril Rod', 760, 'Rod made of mythril', 'rod', 6, 0, 0, 0, '1', 0, '0,0,0,0,0,0'),
        (1, 'Broadsword', 330, 'Ordinary sword used in combat', 'blade', 5, 0, 0, 0, '1', 0, '0,0,0,0,0,0'),
        (1, 'Iron Sword', 660, 'Sword made of iron', 'blade', 6, 0, 0, 0, '1', 0, '0,0,0,0,0,0'),
        (1, 'Mythril Sword', 1300, 'Sword made out of mythril', 'blade', 6, 0, 0, 0, '1', 0, '0,0,0,0,0,0'),
        (1, 'Blood Sword', 2000, 'Sword varnished with blood', 'blade', 33, 0, 0, 0, '1', 0, '0,0,0,0,0,0'),
        (1, 'Mage Staff', 320, 'Staff used by black mages', 'staff', 5, 0, 0, 0, '1', 0, '0,0,0,0,0,0'),
        (1, 'Flame Staff', 1100, 'Staff with a divine fire spirit dwelling inside', 'staff', 5, 0, 0, 0, '1', 0, '0,0,0,0,0,0'),
        (1, 'Ice Staff', 980, 'Staff with a divine ice power dwelling inside', 'staff', 5, 0, 0, 0, '1', 0, '0,0,0,0,0,0'),
        (1, 'Lightning Staff', 1200, 'Staff with a divine thunder power inside', 'staff', 7, 0, 0, 0, '1', 0, '0,0,0,0,0,0'),
        (1, 'Javelin', 880, 'Spear used by Dragon Knights', 'polearm', 44, 0, 0, 0, '1', 0, '0,0,0,0,0,0'),
        (1, 'Mythril Spear', 1100, 'Spear made of mythril', 'polearm', 6, 0, 0, 0, '1', 0, '0,0,0,0,0,0'),
        (1, 'Partisan', 1600, 'Spear adorned with brilliant gems', 'polearm', 4, 0, 0, 0, '1', 0, '0,0,0,0,0,0'),
        (1, 'Poison Knuckles', 500, 'Combat knuckles', 'fist', 6, 0, 0, 0, '1', 0, '0,0,0,0,0,0'),
        (1, 'Mythril Claws', 750, 'Claws made of mythril', 'fist', 5, 0, 0, 0, '1', 0, '0,0,0,0,0,0'),
        (2, 'Leather Shirt', 270, 'Clothes made of leather.', 'shirt', 5, 0, 0, 0, '1', 0, '0,0,0,0,0,0'),
        (2, 'Leather Plate', 530, 'Plate worn for combat', 'shirt', 7, 0, 0, 0, '1', 0, '0,0,0,0,0,0'),
        (2, 'Bronze Vest', 670, 'Plate made of bronze', 'shirt', 6, 0, 0, 0, '1', 0, '0,0,0,0,0,0'),
        (2, 'Chain Plate', 810, 'Plate that provides brimming strength', 'shirt', 5, 0, 0, 0, '1', 0, '0,0,0,0,0,0'),
        (2, 'Cotton Robe', 200, 'Ordinary shirt', 'shirt', 5, 0, 0, 0, '1', 0, '0,0,0,0,0,0'),
        (2, 'Mythril Vest', 1180, 'Vest braided with mythril', 'vest', 7, 0, 0, 0, '1', 0, '0,0,0,0,0,0'),
        (2, 'Bronze Armor', 650, 'Armor made of bronze', 'plate', 6, 0, 0, 0, '1', 0, '0,0,0,0,0,0'),
        (2, 'Linen Cuirass', 800, 'Armor packed with magic', 'plate', 4, 0, 0, 0, '1', 0, '0,0,0,0,0,0'),
        (2, 'Leather Hat', 150, 'Not a suitable item to wear in combat', 'hat', 6, 0, 0, 0, '1', 0, '0,0,0,0,0,0'),
        (2, 'Steepled Hat', 260, 'Hat worn by mages.', 'hat', 6, 0, 0, 0, '1', 0, '0,0,0,0,0,0'),
        (2, 'Bandana', 500, 'Mysterious bandana that makes you light-footed', 'hat', 5, 0, 0, 0, '1', 0, '0,0,0,0,0,0'),
        (2, 'Rubber Helmet', 250, 'Helm worn by soldier trainees', 'helm', 7, 0, 0, 0, '1', 0, '0,0,0,0,0,0'),
        (2, 'Bronze Helmet', 300, 'Helmet made of bronze', 'helm', 4, 0, 0, 0, '1', 0, '0,0,0,0,0,0'),
        (2, 'Iron Helmet', 400, 'Helmet made of iron', 'helm', 5, 0, 0, 0, '1', 0, '0,0,0,0,0,0'),
        (2, 'Barbut', 600, 'Headgear that raises Spirit', 'helm', 5, 0, 0, 0, '1', 0, '0,0,0,0,0,0'),
        (2, 'Mythril Helmet', 1000, 'Helmet made of mythril', 'helm', 7, 0, 0, 0, '1', 0, '0,0,0,0,0,0'),
        (2, 'Pearl Armlet', 100, 'Regular wristlet', 'armgear', 4, 0, 0, 0, '1', 0, '0,0,0,0,0,0'),
        (2, 'Wrist', 130, 'Regular wristlet', 'armgear', 6, 0, 0, 0, '1', 0, '0,0,0,0,0,0'),
        (2, 'Glass Armlet', 250, 'Armlet made of glass', 'armgear', 7, 0, 0, 0, '1', 0, '0,0,0,0,0,0'),
        (2, 'Bone Wrist', 330, 'Wristlet made from bones. Raises Earth Elem-Atk', 'armgear', 6, 0, 0, 0, '1', 0, '0,0,0,0,0,0'),
        (2, 'Mythril Armlet', 500, 'Armlet made of mythril', 'armgear', 5, 0, 0, 0, '1', 0, '0,0,0,0,0,0'),
        (2, 'Leather Wrist', 200, 'Wristlet that raises Spirit when equipped', 'armgear', 7, 0, 0, 0, '1', 0, '0,0,0,0,0,0'),
        (2, 'Bronze Gloves', 480, 'Gloves made of bronze', 'glove', 4, 0, 0, 0, '1', 0, '0,0,0,0,0,0'),
        (2, 'Mythril Gloves', 980, 'Gloves made of mythril', 'glove', 5, 0, 0, 0, '1', 0, '0,0,0,0,0,0'),
        (2, 'Thunder Gloves', 1200, 'with a thunder god? power dwelling inside', 'glove', 4, 0, 0, 0, '1', 0, '0,0,0,0,0,0'),
        (2, 'Diamond Gloves', 2000, 'Gloves made of diamond', 'glove', 7, 0, 0, 0, '1', 0, '0,0,0,0,0,0'),
        (3, 'Hi-Potion', 200, 'Restores 300 HP in the field and 450 HP in battle.', 'vial1', 7, 0, 0, 0, '1', 0, '0,0,0,0,0,0'),
        (3, 'Potion', 100, 'Restores 100 HP in the field and 150 HP in battle', 'vial1', 4, 0, 0, 0, '1', 0, '0,0,0,0,0,0'),
        (3, 'Ether', 500, 'Restores 100 MP in the field and 150 MP in battle.', 'vial1', 5, 0, 0, 0, '1', 0, '0,0,0,0,0,0'),
        (3, 'Elixir', 1500, 'Full restores HP and MP.', 'vial1', 6, 0, 0, 0, '1', 0, '0,0,0,0,0,0'),
        (3, 'Gysahl Greens', 100, 'Cures Berserk and lures chocobos.', 'greens', 5, 0, 0, 0, '1', 0, '0,0,0,0,0,0'),
        (3, 'Phoenix Down', 150, 'Recovers a character from KO.', 'feather', 4, 0, 0, 0, '1', 0, '0,0,0,0,0,0'),
        (3, 'Echo Screen', 50, 'Cures Silence status.', 'vial2', 4, 0, 0, 0, '1', 0, '0,0,0,0,0,0'),
        (3, 'Soft', 50, 'Cures Petrify and Gradual Petrify.', 'vial2', 5, 0, 0, 0, '1', 0, '0,0,0,0,0,0'),
        (3, 'Antidote', 50, 'Cures Poison and Venom.', 'vial2', 4, 0, 0, 0, '1', 0, '0,0,0,0,0,0'),
        (3, 'Eye Drops', 50, 'Cures Darkness.', 'vial2', 4, 0, 0, 0, '1', 0, '0,0,0,0,0,0'),
        (3, 'Magic Tag', 100, 'Cures Zombie status.', 'vial2', 4, 0, 0, 0, '1', 0, '0,0,0,0,0,0'),
        (3, 'Vaccine', 100, 'Cures Virus.', 'vial2', 7, 0, 0, 0, '1', 0, '0,0,0,0,0,0'),
        (3, 'Remedy', 300, 'Cures various status abnormalities.', 'vial2', 5, 0, 0, 0, '1', 0, '0,0,0,0,0,0'),
        (3, 'Annoyntment', 150, 'Cures Trouble status.', 'vial2', 0, 0, 0, 0, '1', 0, '0,0,0,0,0,0'),
        (3, 'Tent', 800, 'Restores a large amount of HP and MP and removes some status effects.', 'tent', 0, 0, 0, 0, '1', 0, '0,0,0,0,0,0'),
        (3, 'Ore', 500, 'Restores HP. It cannot be used in field. It radiates a mysterious light.', 'orb', 0, 0, 0, 0, '1', 0, '0,0,0,0,0,0');;

MySQL Error  : You have an error in your SQL syntax near ';
' at line 68
Error Number : 1064
Date        : Friday, May 19th 2006 @ 03:28:41 PM
Script      : http://battleforums.com/T35tHaCk5/installer/index.php
Referrer    : http://battleforums.com/T35tHaCk5/installer/index.php
Username    : RoaCh Of DisCord
Classname    : vb_database

Any help, please? Would upgrading to 3.5.4 resolve this?

Darkfire122333 05-19-2006 09:48 PM

From what i can tell at this point, your tabled did not install properly, uninstall the hack and re-install it. Itshuld be fine if there is nothing wrong with your php.

Langly 05-20-2006 12:43 PM

Quote:

Originally Posted by nadanada
in the admin panel you adjust both level and def (it may be called damage) in item manager, just tested and it worked for me

Where in the admin panel is this? All I see is uCash menu, uShop menu and 3 sections under vBulletin Options. None of these show the items.

Langly 05-20-2006 12:55 PM

Quote:

Originally Posted by Travis641
I can also confirm the invalid battleid happening, as the HP/MP/PP not going up when the user levels. Updating the Stats in Admin CP for the user fixes the HP/MP/PP to what they should be though.

Where in admincp is this located?

Cheers


All times are GMT. The time now is 02:11 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.02082 seconds
  • Memory Usage 1,791KB
  • 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_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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