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)

Sykoi 03-12-2006 09:25 PM

Hate to bug you again, Revan, but are there any plans to allow players to post while in battle? The reason I ask is, someone could go into battle with someone else - and then log off... That other person would be unable to post during that fight.

Revan 03-13-2006 08:46 AM

Quote:

Originally Posted by ZIKI-SET
And Revan you could make a edit for navbar in a drop down menu instead of that the installer adds another navbar line...

At some point I will code an AdminCP setting that switches between the two navbar styles.
Quote:

Originally Posted by Sykoi
Hate to bug you again, Revan, but are there any plans to allow players to post while in battle? The reason I ask is, someone could go into battle with someone else - and then log off... That other person would be unable to post during that fight.

Um, you will still be able to post normally, just not gain EXP. Or is there a bug preventing this? I have been unable to find such a bug in my tests...

General Update: Development is rather slow at the moment, as I have joined a Lineage II private server development team. But trust that I will not abandon this hack. Thank you for your patience.

Ziki 03-13-2006 05:15 PM

Yeah that would be cool if there would be the choice but I think you have to edit the whole installer.Or what template is the addictional rpg navbar line in?

majorxp 03-13-2006 06:08 PM

/bookmarked when out of beta

This looks incredible.

SpecOpsX 03-14-2006 03:35 AM

This looks amazing definetly will be installing this :)

Ziki 03-14-2006 01:46 PM

Only 65 installs?Lol guys come on you can do better!

Revan 03-15-2006 07:34 AM

Quote:

Originally Posted by ZIKI-SET
Yeah that would be cool if there would be the choice but I think you have to edit the whole installer.Or what template is the addictional rpg navbar line in?

Nah you don't have to edit any installer, just make an additional edit to the Navbar template.
In the next Beta I will be trying out this feature, for now my priority is to complete the Monster Arena :)

Ziki 03-17-2006 09:08 PM

OK you said you finish it this week or did I get it wrong?

Revan 03-18-2006 10:59 AM

Ran into a few snags, but Im putting the final touches on the Arena now. Just need to test it for abit.
Also, I have an AdminCP bug to fix before being able to put this out there.

Ziki 03-20-2006 10:35 AM

Oh OK.As soon as I get access to my PayPal account I will donate ya

Revan 03-20-2006 02:00 PM

Cool, thanks :)

General Update: The last Beta version, Beta 4, is expected to be released Friday. I want to give it a 5 day testing period due to the fact that you never know when issues may arise.
Also, some release notes on the Arena:
The code for the Battle Arena has been copied over to the Monster Arena, in order to simplify User and Monster actions in battle. What this has led to, however, is a "dumb" AI. The monsters are now only able to use Fists. This will change for an upcoming version as I plan to rewrite the Equipment system and also allow Monsters to carry equipment.
To counter this (and also to stop the massive strain on the monster arena in general), you can now configure a price to battle a monster.

Sooner95 03-21-2006 11:51 PM

Based on a past error corrected, I am once again lookign forward to trying this again. Keep up the fine work!

Ziki 03-22-2006 10:30 AM

Quote:

Originally Posted by Revan
Cool, thanks :)

General Update: The last Beta version, Beta 4, is expected to be released Friday. I want to give it a 5 day testing period due to the fact that you never know when issues may arise.
Also, some release notes on the Arena:
The code for the Battle Arena has been copied over to the Monster Arena, in order to simplify User and Monster actions in battle. What this has led to, however, is a "dumb" AI. The monsters are now only able to use Fists. This will change for an upcoming version as I plan to rewrite the Equipment system and also allow Monsters to carry equipment.
To counter this (and also to stop the massive strain on the monster arena in general), you can now configure a price to battle a monster.

And Revan there is also a item bug.When I buy multiply items I have only 1 and can buy the others again.:confused:

Revan 03-23-2006 06:37 AM

Not a bug. The other items go to your Inventory, which is a feature not yet complete. You have not lost the items nor the money.

Ziki 03-23-2006 06:11 PM

Oh OK.Anyway you could add some info files that the feature is still being made cause when my members always PM that the file is missing.Man I had to stop that so I created inventory.php that informs that you are still doing it.

Revan 03-24-2006 05:47 AM

Ill see about commenting out the button or smth =P

Revan 03-24-2006 08:03 PM

Update: Beta 4 Released!
This will most likely be the last Beta version. The only thing rly missing is the WOL locations, which don't require testing in too many different environments, lol.

http://demo.neomateria.net/bugs.php?...bugversionid=6
Go there for a list of all bugs fixed in this Beta.

New Features:
* Monster Arena
* Maintenance
* Mass EXP
* Ability to let the User choose whether or not the Battle Arena should accept RPG Name, Username or Both.

Also, some release notes on the Arena:
The code for the Battle Arena has been copied over to the Monster Arena, in order to simplify User and Monster actions in battle. What this has led to, however, is a "dumb" AI. The monsters are now only able to use Fists. This will change for an upcoming version as I plan to rewrite the Equipment system and also allow Monsters to carry equipment.
To counter this (and also to stop the massive strain on the monster arena in general), you can now configure a price to battle a monster.

Replicators 03-24-2006 09:06 PM

I got this error while installing....

Code:

Database error in vBulletin 3.5.4:

Invalid SQL:

CREATE TABLE `sf_rpg_monster_battles`
(
        `monsterbattleid` int(10) UNSIGNED NOT NULL auto_increment,
        `owner` int(10) UNSIGNED NOT NULL DEFAULT '0',
        `opponent` int(10) UNSIGNED NOT NULL DEFAULT '0',
        `battlestate` int(10) UNSIGNED NOT NULL DEFAULT '0',
        `turnid` int(10) NOT NULL DEFAULT '0',
        `lastactive` int(10) UNSIGNED NOT NULL DEFAULT '0',
        `wager` int(10) UNSIGNED NOT NULL DEFAULT '0',
        `winnerid` int(10) UNSIGNED NOT NULL DEFAULT '0',
        `winstatus` int(10) UNSIGNED NOT NULL DEFAULT '0',
        `sceneid` int(10) UNSIGNED NOT NULL DEFAULT '0',
        `shield` int(10) UNSIGNED NOT NULL DEFAULT '0',
        `midi` int(10) NOT NULL DEFAULT '-1',
        `battlelost` int(10) UNSIGNED NOT NULL DEFAULT '0',
        PRIMARY KEY (`battleid`)
) TYPE=InnoDB;

MySQL Error  : Key column 'battleid' doesn't exist in table
Error Number : 1072
Date        : Friday, March 24th 2006 @ 03:04:05 PM
Script      : http://***.******.***/installer/index.php
Referrer    : http://***.******.***/installer/index.php
IP Address  : **.**.***.***
Username    : Replicators
Classname    : vb_database


wwesn1 03-24-2006 09:13 PM

yep, got that too

Gemma 03-24-2006 09:45 PM

I've found some bugs -

You
Quote:

r opponent does not have enough Gil. The wager is 1000 Gil, and your opponent only has 363429.08 Gil.
Still appears wen making a wager on a battle

Wen selecting Maintenance in AdminCP I get -

Quote:

Parse error: parse error, unexpected ')' in /forum/admincp/rpg_maintenance.php on line 344
**edit - found the username selector - thank you this is very useful :)

Gemma

Revan 03-24-2006 09:46 PM

Whoops... Reupload the /installer/hacks/rpg_integr_hack/mysql-schema.php in 5 mins, it'll be fixed.

Revan 03-24-2006 09:54 PM

Ok NOW I took care of all of that.
Reupload /battle.php and /admincp/rpg_maintenance.php

Gemma 03-24-2006 10:20 PM

Quote:

Originally Posted by Revan
Ok NOW I took care of all of that.
Reupload /battle.php and /admincp/rpg_maintenance.php

Great! All working now

Thank You

Gemma

Replicators 03-24-2006 10:30 PM

Thanks for the quick fix revan, all working now >8)

EDIT: Take that back, i just got this error when making my character.

Code:

Database error in vBulletin 3.5.4:

Invalid SQL:
UPDATE sf_rpg_user SET
        ap = 45,
        maxhp = 50,
        maxmp = 23,
        maxpp = 43,
        hp = 50,
        mp = 23,
        pp = 43,
        elementid = 4,
        alignmentid = 2,
        raceid = 2,
        genderid = 3,
        classid = 45,
        typeid = 1,
        inputlevel = 0,
        dropdown = 1,
        canchallenge = 1,
        rpgname = 'Replicators'
WHERE userid = 1;

MySQL Error  : Unknown column 'inputlevel' in 'field list'
Error Number : 1054
Date        : Friday, March 24th 2006 @ 04:37:02 PM
Script      : http://***.******.***/headquarters.php
Referrer    : http://***.******.***/headquarters.php
IP Address  : **.**.***.***
Username    : Replicators
Classname    : vb_database


Gemma 03-24-2006 10:51 PM

Quote:

ALTER TABLE `rpg_user` CHANGE `inputlevel` `inputlevel` TINYINT( 1 ) UNSIGNED NOT NULL DEFAULT '2'
Should fix your problem temporarily

Gemma

wwesn1 03-24-2006 11:31 PM

here is another one when you try to assign a cost to battling the bots

Code:

                UPDATE `vbrpg_ibots`
                SET
                        `botname` = 'Dire Wolf',
                        `levelrequired` = '1',
                        `cost` = '10',
                        `winexp` = '3',
                        `limitname` = 'Fury Swipes',
                        `hp` = '30',
                        `maxhp` = '30',
                        `mp` = '10',
                        `maxmp` = '10',
                        `pp` = '10',
                        `maxpp` = '10',
                        `ap` = '50',
                        `xp` = '12',
                        `genderid` = '2',
                        `elementid` = '3',
                        `wins` = '0',
                        `losses` = '1',
                        `battles` = '2'
                WHERE `ibotid` = '32';

MySQL Error  : Unknown column 'cost' in 'field list'


Replicators 03-25-2006 12:14 AM

Quote:

Originally Posted by darkworld
Should fix your problem temporarily

Gemma

it gives me a error and says Unknown column.

Quote:

An error occurred while attempting to execute your query. The following information was returned.
error number: 1054
error desc: Unknown column 'inputlevel' in 'sf_rpg_user'

Ziki 03-25-2006 01:58 AM

Cool work Revan!

Ziki 03-25-2006 02:35 AM

I got this bug when accessing Monster Arena

Database error in vBulletin 3.5.4:

Invalid SQL:
SELECT COUNT(`monsterbattleid`) AS `ibotbattles` FROM `forumziki_rpg_monster_battles`;

MySQL Error : Unknown column 'monsterbattleid' in 'field list'
Error Number : 1054
Date : Friday, March 24th 2006 @ 11:28:47 PM
Script : http://www.zikihideout.com/forums/monsterarena.php?
Referrer : http://www.zikihideout.com/forums/monsterarena.php?
IP Address : 87.197.143.145
Username : ZIKI-SET
Classname : vb_database

xlegends 03-25-2006 04:37 AM

HI, Does anyone know what this step is referring to?

Step 2 - Upload New Images ( Done)
Upload the contents of the 'upload' folder in images1.zip and images2.zip to your forum root.

Replicators 03-25-2006 05:09 AM

Just ignore that step

xlegends 03-25-2006 05:55 AM

Quote:

Originally Posted by Replicators
Just ignore that step


Thanks rep, everything installed fine and I can enter the different scripts of the hack.

Having huge db problem, I cant seem to save the character creation which is required before doing anything,.,.



Database error in vBulletin 3.5.3:

Invalid SQL:
UPDATE rpg_user SET
ap = 60,
maxhp = 45,
maxmp = 33,
maxpp = 53,
hp = 45,
mp = 33,
pp = 53,
elementid = 2,
alignmentid = 2,
raceid = 2,
genderid = 3,
classid = 61,
typeid = 1,
inputlevel = 0,
dropdown = 1,
canchallenge = 1,
rpgname = 'DBG'
WHERE userid = 7105;

MySQL Error : Unknown column 'inputlevel' in 'field list'
Error Number : 1054
Date : Saturday, March 25th 2006 @ 07:53:41 AM
Script : /http://www.xxxxxxxxxx.com/forums/headquarters.php
Referrer : /http://wwwxxxxxxxxxx.com/forums/headquarters.php?

Ziki 03-25-2006 06:15 AM

Database error in vBulletin 3.5.4:

Invalid SQL:
SELECT COUNT(`monsterbattleid`) AS `ibotbattles` FROM `forumziki_rpg_monster_battles`;

MySQL Error : Unknown column 'monsterbattleid' in 'field list'
Error Number : 1054
Date : Friday, March 24th 2006 @ 11:28:47 PM
Script : http://www.zikihideout.com/forums/monsterarena.php?
Referrer : http://www.zikihideout.com/forums/monsterarena.php?
IP Address : 87.197.143.145
Username : ZIKI-SET
Classname : vb_database

Revan can you please look at it?There are tables missing...

Revan 03-25-2006 08:52 AM

I will release an update that will fix all these issues in 5 minutes.

Revan 03-25-2006 09:01 AM

Beta 5 Released

I had to make this quick update because I messed up badly on the SQL tables, causing many people to have errors.
Terribly sorry for the mess, it should all be good now.

Replicators 03-25-2006 11:49 AM

We don't expect you to be perfect >8)

EDIT: Encountered this error while making a monster battle..

Code:

Database error in vBulletin 3.5.4:

Invalid SQL:

                INSERT INTO sf_rpg_monster_battles
                        (`owner`,
                        `opponent`,
                        `battlestate`,
                        `turnid`,
                        `lastactive`,
                        `wager`,
                        `sceneid`,
                        `musicid`)
                VALUES
                        ('1',
                        '32',
                        '1',
                        '1',
                        '1143295803',
                        '3',
                        '4',
                        '0');

MySQL Error  : Unknown column 'musicid' in 'field list'
Error Number : 1054
Date        : Saturday, March 25th 2006 @ 06:10:03 AM
Script      : http://***.******.***/monsterarena.php
Referrer    : http://***.******.***/monsterarena.php?do=newbattle
IP Address  : **.**.***.***
Username    : Replicators
Classname    : vb_database


Revan 03-25-2006 02:04 PM

[sql]ALTER TABLE `rpg_monster_battles` CHANGE `midi` `musicid` INT( 10 ) NOT NULL DEFAULT '-1'[/sql]
remember to add a table prefix.
Also will be updating the file shortly.

Replicators 03-25-2006 02:09 PM

That worked, but then i got this...

Code:

Database error in vBulletin 3.5.4:

Invalid SQL:

                INSERT INTO sf_rpg_ibot_templates
                        (`userid`,
                        `ibotid`,
                        `hp`,
                        `maxhp`,
                        `mp`,
                        `maxmp`,
                        `pp`,
                        `maxpp`,
                        `ap`)
                VALUES
                        ('1',
                        '1',
                        '30',
                        '30',
                        '10',
                        '10',
                        '7',
                        '7',
                        '0');

MySQL Error  : Duplicate entry '1' for key 1
Error Number : 1062
Date        : Saturday, March 25th 2006 @ 08:07:56 AM
Script      : http://***.******.***/monsterarena.php
Referrer    : http://***.******.***/monsterarena.php?do=newbattle
IP Address  : **.**.***.***
Username    : Replicators
Classname    : vb_database


Revan 03-25-2006 02:59 PM

That's because the battle creation halted where it shouldn't have. Run these two:
[sql]TRUNCATE TABLE `rpg_monster_battles`[/sql]
[sql]TRUNCATE TABLE `rpg_ibot_templates`[/sql]

Otikeu 03-25-2006 10:05 PM

So, how do we update from (I believe BETA 1) to BETA 5?

Also a feature request. Maybe save a payment history, incase someone like me needs to revamp their item choices (aka remove spells for different types) and will like to refund all money spent for the items? I'd be a life saving feature... ;)


All times are GMT. The time now is 02:23 PM.

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.01811 seconds
  • Memory Usage 1,849KB
  • 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
  • (5)bbcode_code_printable
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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