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)

Ziki 04-21-2006 02:06 PM

Quote:

When my member wants to end a battle he can't.I tried to cancel his battle and it said

Warning: Invalid argument supplied for foreach() in /includes/class_rpg_battle.php on line 717

Revan.....any idea???
Hello???

Revan 04-21-2006 04:35 PM

Nothing that can be done. The battle entry is corrupted. Given the fact that nobody else is recieving this error, this happened on your end.
Delete the database entry manually, in the database set battleid to 0 and re-cache all users.

Ziki 04-21-2006 05:34 PM

Errmmm....didn§t quite get it

nadanada 04-21-2006 07:12 PM

Quote:

Originally Posted by Revan
PP - No.
Anger/Limit Break - When AP goes to 100%, you get an increasingly powerful attack. The power of this attack goes up with level up.

ahh ok thanks!

is limit break supposed to go up? it shows 0% for all members, or is there a setting for it?

Revan 04-22-2006 10:06 AM

It goes up when members miss attacks, or do no damage.

Ziki 04-22-2006 10:22 AM

Quote:

Originally Posted by Revan
Nothing that can be done. The battle entry is corrupted. Given the fact that nobody else is recieving this error, this happened on your end.
Delete the database entry manually, in the database set battleid to 0 and re-cache all users.

Revan how to do the database thingy?

Revan 04-22-2006 05:55 PM

phpMyAdmin is your friend :P
rpg_battle table houses the database entry you want.

Ziki 04-22-2006 06:12 PM

I am in the table,now what?

insane12 04-22-2006 06:58 PM

Just installed this, and have the same problem i get with most hacks in that they work fine with the vbulletin default style, but not with custon styles.

So my question (just incase anyboby hasn't guest) is how do i make the navbar / links appear with a custom style. normally i would have edited the header templete but the installer takes care of the templete edits so i dont know what to cut and paste where, lol

MoothMan 04-22-2006 08:15 PM

insane12 I have the same issue... I have no idea how to get the navigation into my custom template...will let you know of i work it out :)

MoothMan 04-22-2006 09:20 PM

OK, i just went into the rpg navbar template in the default skin and copied this into my custom header :)

vbreal 04-23-2006 04:50 AM

Quote:

Originally Posted by Revan
Nothing that can be done. The battle entry is corrupted. Given the fact that nobody else is recieving this error, this happened on your end.
Delete the database entry manually, in the database set battleid to 0 and re-cache all users.

Revan

i appreciate your mod. but i noticed you have yet to address my issue with the database error and i have posted it twice. how can i correct it. i have it disabled for now. but i am eager to begin using it. could u please give me some idea on whats going on. ever one gets this error when they reply to a thread. i am using ur latest update. thanks in advance

PHP Code:

Database error in vBulletin 3.5.4:
Invalid SQL:
UPDATE tdrpg_user SET
 ap 
0,
 
maxhp 165,
 
maxmp 33,
 
maxpp 33,
 
hp 0,
 
mp 33,
 
pp 33,
 
xp 1930,
 
level 11
WHERE userid 
3;
MySQL Error  Can't open file: 'tdrpg_user.InnoDB'. (errno: 1)
Error Number : 1016
Date         : Sunday, April 23rd 2006 @ 12:36:02 AM
Script       : http://www.trudaily.com/newreply.php
Referrer     : http://www.trudaily.com/showthread.php?t=1824
IP Address   : 69.249.227.104
Username     : MrDaily
Classname    : vb_database 


Shuichi 04-23-2006 07:00 AM

I am needing to know how to get my vbplaza to work with the RPG.. I know this may be a stupid question, I am just needing help with it.. Can someone perhaps give me steps on how to do this? And also, if this error can be addressed, I'd VERY much appreciate it! Thanks! :)

PHP Code:

Database error in vBulletin 3.5.4:

Invalid SQL:

        
UPDATE `user`
        
SET `user` = `user` - '0'
        
WHERE `userid` = '1';

MySQL Error  Unknown column 'user' in 'field list'
Error Number 1054
Date         
SundayApril 23rd 2006 04:02:59 AM
Script       
http://khnetwork.com/monsterarena.php
Referrer     http://khnetwork.com/monsterarena.php?do=newbattle&ibotid=32
IP Address   xxxxxx
Username     
Piper
Classname    
vb_database 


Revan 04-23-2006 09:27 AM

Quote:

Originally Posted by Real Talk
Revan

i appreciate your mod. but i noticed you have yet to address my issue with the database error and i have posted it twice. how can i correct it. i have it disabled for now. but i am eager to begin using it. could u please give me some idea on whats going on. ever one gets this error when they reply to a thread. i am using ur latest update. thanks in advance

PHP Code:

Database error in vBulletin 3.5.4:
Invalid SQL:
UPDATE tdrpg_user SET
 ap 
0,
 
maxhp 165,
 
maxmp 33,
 
maxpp 33,
 
hp 0,
 
mp 33,
 
pp 33,
 
xp 1930,
 
level 11
WHERE userid 
3;
MySQL Error  Can't open file: 'tdrpg_user.InnoDB'. (errno: 1)
Error Number : 1016
Date         : Sunday, April 23rd 2006 @ 12:36:02 AM
Script       : http://www.trudaily.com/newreply.php
Referrer     : http://www.trudaily.com/showthread.php?t=1824
IP Address   : 69.249.227.104
Username     : MrDaily
Classname    : vb_database 


There's an error with your MySQL files. It's quite possible your MySQL configuration does not allow InnoDB, in which case you will need to contact your host.
Quote:

Originally Posted by Shuichi
I am needing to know how to get my vbplaza to work with the RPG.. I know this may be a stupid question, I am just needing help with it.. Can someone perhaps give me steps on how to do this? And also, if this error can be addressed, I'd VERY much appreciate it! Thanks! :)

PHP Code:

Database error in vBulletin 3.5.4:

Invalid SQL:

        
UPDATE `user`
        
SET `user` = `user` - '0'
        
WHERE `userid` = '1';

MySQL Error  Unknown column 'user' in 'field list'
Error Number 1054
Date         
SundayApril 23rd 2006 04:02:59 AM
Script       
http://khnetwork.com/monsterarena.php
Referrer     http://khnetwork.com/monsterarena.php?do=newbattle&ibotid=32
IP Address   xxxxxx
Username     
Piper
Classname    
vb_database 


You put the wrong value in the Point Field setting. You are supposed to put the field (like "ucash", "vbbux" or whatever), not the table name.

Shuichi 04-23-2006 10:09 AM

Ooooh thank you sooo much, thank you thank you thank you. I am retarded. Well, now I know what I did wrong. Thanks again! Everything works like A CHARM. Definately should be HOTM :)

Revan 04-23-2006 11:47 AM

Glad to be of service :)
This won't be HOTM though - its time is past. It didn't recieve enough install clicks.

insane12 04-23-2006 02:58 PM

Quote:

Originally Posted by MoothMan
OK, i just went into the rpg navbar template in the default skin and copied this into my custom header :)


Just copying <!-- / nav buttons bar --> to the header templete works as well:)

smirnoff 04-23-2006 03:14 PM

hi, i just wanna know if this Hack is already translated in french .... and where i can find it out if it exist

thanks in advance

best regards

vbreal 04-23-2006 05:17 PM

Quote:

Originally Posted by Revan
There's an error with your MySQL files. It's quite possible your MySQL configuration does not allow InnoDB, in which case you will need to contact your host.

thanks i will get in touch with them

but if that isn't the problem. what else could it be.

vbreal 04-23-2006 05:35 PM


Quote:

We actually don't support InnoDB (we've never really seen a reason to as it's kind of antiquated and not really used). Sorry.
this is his response


so is there any way i can still use the hack. or should just uninstall it now

MoothMan 04-23-2006 06:11 PM

I get the following error after a fight

"KayJay Elron walked over to the cleric and cashed in on the spoils of war: 2000 Gil. commie is not in a Clan, so commie's failure went by unpunished. As a result of KayJay Elron's bravery, Clan KayJays Killers gained 1 Clan Point. KayJay Elron gained 10 EXP and [ARG:3 UNDEFINED] [ARG:4 UNDEFINED] as a reward for exploits in battle. "

How do I correct "[ARG:3 UNDEFINED] [ARG:4 UNDEFINED]"?
No funds get allocated after the win...

TIA

smirnoff 04-23-2006 06:44 PM

Hi i've installed this hack properly, all is ok except ...

Maybe it's me but i cant defeat any monster ... i battle them, and alread OneShooted and die .... i'm unable to win any battle ... so my question is ..

Is the default settings work fine? or must i change EVERY caracteristics and HP MP etc for all monsters to do it working ....

I hope my question is clear (sorry for my bad english)

Best regards

Smirnoff

Revan 04-23-2006 07:18 PM

Quote:

Originally Posted by Real Talk



this is his response


so is there any way i can still use the hack. or should just uninstall it now

Uninstall it, then open ./installer/hacks/rpg_integr_hack/mysql-schema.php and remove ALL instances of "TYPE = InnoDB" then reinstall.
I removed that from the file and that will be default for future versions. Sorry about that, I had no idea.
Quote:

Originally Posted by MoothMan
I get the following error after a fight

"KayJay Elron walked over to the cleric and cashed in on the spoils of war: 2000 Gil. commie is not in a Clan, so commie's failure went by unpunished. As a result of KayJay Elron's bravery, Clan KayJays Killers gained 1 Clan Point. KayJay Elron gained 10 EXP and [ARG:3 UNDEFINED] [ARG:4 UNDEFINED] as a reward for exploits in battle. "

How do I correct "[ARG:3 UNDEFINED] [ARG:4 UNDEFINED]"?
No funds get allocated after the win...

TIA

It's a mixup, will be fixed in the next version.
Quote:

Originally Posted by smirnoff
Hi i've installed this hack properly, all is ok except ...


Maybe it's me but i cant defeat any monster ... i battle them, and alread OneShooted and die .... i'm unable to win any battle ... so my question is ..

Is the default settings work fine? or must i change EVERY caracteristics and HP MP etc for all monsters to do it working ....


I hope my question is clear (sorry for my bad english)

Best regards

Smirnoff

It's because the HP level is wonky. Try making some weapons with damage ("Buff") then try again.

smirnoff 04-23-2006 07:37 PM

ok it seems to be ok, but very hard to understand how it work ...

Btw i've a primordial question...
If i translate this XML into french "product-rpg_integr_hack.xml"
is there any other files where i must translate english into french?
BTW if i succeed to translate, i give u xml and other files back ... like that i got a RPG into 2 langage US+FR ^^

Thanks for your answer

vbreal 04-23-2006 07:40 PM

Quote:

Originally Posted by Revan
Uninstall it, then open ./installer/hacks/rpg_integr_hack/mysql-schema.php and remove ALL instances of "TYPE = InnoDB" then reinstall.
I removed that from the file and that will be default for future versions. Sorry about that, I had no idea.
It's a mixup, will be fixed in the next version.
It's because the HP level is wonky. Try making some weapons with damage ("Buff") then try again.

ahh man i have already done an uninstall. and it didn't completely remove all the tables. i had to manually go and do that. and that took for ever.

when i remove all instances of "TYPE = InnoDB" will the hack still work proper ally.

Revan 04-24-2006 07:29 AM

Quote:

Originally Posted by Real Talk
ahh man i have already done an uninstall. and it didn't completely remove all the tables. i had to manually go and do that. and that took for ever.

when i remove all instances of "TYPE = InnoDB" will the hack still work proper ally.

Yeah, the hack is not dependant on that. That's just selecting what storage type the tables are in. It will function as normal :)
Quote:

Originally Posted by smirnoff
ok it seems to be ok, but very hard to understand how it work ...


Btw i've a primordial question...
If i translate this XML into french "product-rpg_integr_hack.xml"
is there any other files where i must translate english into french?
BTW if i succeed to translate, i give u xml and other files back ... like that i got a RPG into 2 langage US+FR ^^

Thanks for your answer

You only have to translate the phrases. You should do this releasing a phrase file like vbulletin-language.xml, not the product-rpg_integr_hack.xml.
Also, you don't have to give me the phrase XML file. You can release that wherever, as long as it does not package any .php files.
There's nothing else that needs translating, the hack should be fully phrased :)

Shuichi 04-26-2006 10:07 PM

Oh hello Revan! I know I've said this before, but this is a -GREAT- hack.. But one of my members brought this to my attention and sent the following to me in a Private Message:

=========================================
Hello, can you tell me why the armor is giving me zero def?

Well...here is an example:

http://i23.photobucket.com/albums/b366/pod79/def0.jpg

I got the little window with the explanation by clicking on the "View" icons next to the armor.

You see, the def is 0, and so is the lvl required to use it. I know you adquire def when you lvl up, as you do in many other rpg's...

But what I am trying to say here is that it seems weird that there is a shop for items that...give you nothing, not even different looks?

So I thought that maybe there was missing the def, and the lvl you are required to use it.

For example, there is:

Name Prize
Mythril Vest 1180
Bronze Vest 670
Leather Vest 530

It seems weird that one will cost more than the other, if they don't give you any status (like more def, or in some other games, some clothes give you atk or int, among other things, but here seems to be simple; for clothes, def, for weapons, atk and maybe an element).

The weapons have the same problem, they don't give you any more damage, and you can use them at any level.
=========================================

Anyway to fix this? ^_^;; Sorry I am slow.

smirnoff 04-26-2006 10:09 PM

normal, just configure it by yourself ...

emtee 04-27-2006 04:30 AM

As my understanding, the hack Ultra Image Shop and this hack use the same itemshop.php, so they can't be installed together, right? So if I want them to be compatible with each other using vbPlaza money system, I have to replace every instance of itemshop.php in this hack to another name, ie rpgshop.php ?

Revan, if you could, can you rename itemshop.php to another name i.e. rpgshop.php so it would be compatible with Ultra Image Shop hack? I'm using vbPlaza money system. It will save me some time messing with your code.

Thank you very much.

Revan 04-27-2006 07:58 AM

Quote:

Originally Posted by smirnoff
normal, just configure it by yourself ...

Truth.
For the next version, there will be more extensive default data for pretty much everything.
Quote:

Originally Posted by emtee
As my understanding, the hack Ultra Image Shop and this hack use the same itemshop.php, so they can't be installed together, right? So if I want them to be compatible with each other using vbPlaza money system, I have to replace every instance of itemshop.php in this hack to another name, ie rpgshop.php ?

Revan, if you could, can you rename itemshop.php to another name i.e. rpgshop.php so it would be compatible with Ultra Image Shop hack? I'm using vbPlaza money system. It will save me some time messing with your code.

Thank you very much.

I don't know man, why can't you ask THEM to rename it? If the hack is called Ultra Image Shop then they should have named it imageshop.php or something.

------------------------------------------------------------------------
General Update
This next version will be more extensive than I thought, because as I add new features I find one bit after another needing added. Therefore the next version will most likely be v4, and it will feature a great many improvements to increase configurability.

Also, I decided that, in this thread, I will cut off support for those that cannot click the Install link. This hack lost its chance for HOTM because not enough clicked install. Since I'm not about to extort donations at gunpoint, I think it's only fair that you show that little bit of appreciation by clicking the install link.
The install count is pretty much my only motivation for continuing development of this hack and keeping it free, because it shows that people actually appreciate it.
To all that click the install link: Thanks, it's appreciated :)

nadanada 04-27-2006 07:17 PM

Quote:

Originally Posted by Shuichi
Oh hello Revan! I know I've said this before, but this is a -GREAT- hack.. But one of my members brought this to my attention and sent the following to me in a Private Message:

=========================================
Hello, can you tell me why the armor is giving me zero def?

Well...here is an example:

http://i23.photobucket.com/albums/b366/pod79/def0.jpg

I got the little window with the explanation by clicking on the "View" icons next to the armor.

You see, the def is 0, and so is the lvl required to use it. I know you adquire def when you lvl up, as you do in many other rpg's...

But what I am trying to say here is that it seems weird that there is a shop for items that...give you nothing, not even different looks?

So I thought that maybe there was missing the def, and the lvl you are required to use it.

For example, there is:

Name Prize
Mythril Vest 1180
Bronze Vest 670
Leather Vest 530

It seems weird that one will cost more than the other, if they don't give you any status (like more def, or in some other games, some clothes give you atk or int, among other things, but here seems to be simple; for clothes, def, for weapons, atk and maybe an element).

The weapons have the same problem, they don't give you any more damage, and you can use them at any level.
=========================================

Anyway to fix this? ^_^;; Sorry I am slow.

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

smirnoff 04-28-2006 07:06 PM

Hi,

I have tested your hack and i see i cannot get more HP when i lvlup its stuck at 15 HP ... You know what is the problem ?? where can i configure that?

See you lather :)

aramik 04-29-2006 04:16 AM

ok ive just got one problem. what should I link to from the index... rpg.php leads to just the characters, isnt there a certain idex menu that links with all the pages.. ie , lottery, shops, batte arenas etc? or do I have to compile the menu myself?

Revan 04-29-2006 09:08 AM

Quote:

Originally Posted by smirnoff
Hi,

I have tested your hack and i see i cannot get more HP when i lvlup its stuck at 15 HP ... You know what is the problem ?? where can i configure that?

See you lather :)

Need to increase the Modifiers in the AdminCP. That will be fixed in a future version.
Quote:

Originally Posted by aramik
ok ive just got one problem. what should I link to from the index... rpg.php leads to just the characters, isnt there a certain idex menu that links with all the pages.. ie , lottery, shops, batte arenas etc? or do I have to compile the menu myself?

You are lacking the necessary comment string in the navbar template.
Insert <!-- / nav buttons bar --> just after the original navbar.

ForYou 04-29-2006 07:07 PM

Hello ,

When i was need to uninstall the hack to reinstall again , i got this error ,

:

Invalid SQL:

ALTER TABLE `administrator`
DROP `rpgadminperms`;

MySQL Error : Can't DROP 'rpgadminperms'; check that column/key exists
Error Number : 1091
Date : Saturday, April 29th 2006 @ 08:04:06 PM


please help why this error come :(

trackpads 05-01-2006 12:19 AM

Revan,

Excellent work man. I have RPG Inferno installed but is this better? I mean as many if not more features?

It looks like it is better supported and the Vbux integration is awesome.

Thanks again,

-Jason

Revan 05-01-2006 08:48 AM

Quote:

Originally Posted by trackpads
Revan,

Excellent work man. I have RPG Inferno installed but is this better? I mean as many if not more features?

It looks like it is better supported and the Vbux integration is awesome.

Thanks again,

-Jason

Well, currently Inferno has more features. But I am working on powerful features that I believe will surpass Inferno.
So yea I think the most this hack got going for it atm is the fact that it's free :p

Darkfire122333 05-01-2006 06:57 PM

Fatal error: Undefined class name 'rpg_core' in /home/xxxx/public_html/xxx/forums/includes/rpg_plugins/showthread_post_start.php on line 19

I get this after i uninstalled and re-installed the RPG hack.. I have tried re-installign again, i don't know what to do.. help?

Revan 05-02-2006 08:39 AM

Seems like your global_start plugin is fubared. Make sure that contains the include() for class_rpg_core.php and that this file exists in the folder.
A reupload of all files might be the way to go.

Darkfire122333 05-02-2006 01:42 PM

Fatal error: Undefined class name 'rpg_core' in /home/xxxx/public_html/xxx/forums/includes/rpg_plugins/showthread_post_start.php on line 19

still shows up after i re-uploaded the files 4 times, then i reinstalled, uninstalled all those combinations, but it does not work :(


All times are GMT. The time now is 09:59 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.02088 seconds
  • Memory Usage 1,884KB
  • 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
  • (4)bbcode_php_printable
  • (21)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