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)

Revan 05-26-2006 01:49 PM

Quote:

Originally Posted by Oddjob
Hey Revan.....do you not give support?

Im trying to re-install your mod and your just ignoring me.

Quote:

Originally Posted by Oddjob
....guess not.

thats a shame.

Do you not read my signature? Guess not, thats a shame.
Honestly now, I don't see what's so bad about showing the small ounce of support back. Users like you are the reason coders leave this site, and why people want to go commercial with their hacks.
Do you have any idea of how annoying it is to get demands for support from someone who can't even show that one bit of free support by clicking the install link?
Is it a mental block that makes you unable to click the link or do you just have no respect for the TWO YEARS I put into this hack? And during these two years, I have been "paid" less than you would make in one day working at Wal-Mart or whatever your local supermarket chain is called. Im not demanding donations, I'm merely making a point, the point being that I spend at least a couple of hours every day trying my best to make my hack better and more flexible.

Also, I tend to like more to give support when the query is more than "I cant reinstall."


General update, Ill post detailed info on the latest milestone reached in a few minutes. I need to post in another thread first...

Oddjob 05-26-2006 05:20 PM

Quote:

Originally Posted by Revan
Do you not read my signature? Guess not, thats a shame.
Honestly now, I don't see what's so bad about showing the small ounce of support back. Users like you are the reason coders leave this site, and why people want to go commercial with their hacks.

Do you have any idea of how annoying it is to get demands for support from someone who can't even show that one bit of free support by clicking the install link?

Why am i going to click "Install" if it isnt installed on my board? Coders release products here for free on their own accord. I dont need the lecture that they leave because of people like me. Because to be honest i could care less.

Quote:

Originally Posted by Revan
Is it a mental block that makes you unable to click the link or do you just have no respect for the TWO YEARS I put into this hack? And during these two years, I have been "paid" less than you would make in one day working at Wal-Mart or whatever your local supermarket chain is called. Im not demanding donations, I'm merely making a point, the point being that I spend at least a couple of hours every day trying my best to make my hack better and more flexible.

Dont take it out on me that you dont make any money from your mod. You have a bug in your product, i simply asked for help.

Quote:

Originally Posted by Revan
Also, I tend to like more to give support when the query is more than "I cant reinstall."

I have posted the error i got a few posts back an they were just ignored. I have seen a few other people with the same problem, their posts ignored as well.

Tri@de 05-27-2006 06:23 AM

I try to make it simple: clicking install you have support.
So, don't complain. If you want support click install, even if you don't have it installed.

If for some reasons (logic: i don't have it installed so i don't click install)
or for pride (this pseudo-flame discussion) you know you will never get an answer.

Now Oddjob, is up to you...

alexanderpas 05-27-2006 10:34 AM

Quote:

Originally Posted by Revan in post #1
For support, please visit the RPG Integration Hack Support Forums
All support queries in this thread will be ignored by me.

I don't think it's strange he doesn't give any support here.

Revan 05-28-2006 07:39 PM

So its about time I talk about the next milestone... *ahem*
The Admin Control Panel part of the skills is now done. True to what I hope will be the new theme of the RPG Integration Hack, skills are highly customiseable.
When you create a new skill, you are presented with two choices: First, whether or not it is a "General" or "Class-specific" skill. That's right, skills will be filterable by class. No longer do you find Warriors running around casting Firaga (unless you want them to :p), nor will you find Black Mages using Blade Beam. The second choice you are given is whether or not the skill is Active or Passive. For those unfamiliar with Lineage II skill categorisation, Active skills are skills you can use provided you meet the requirements (more on this below) whereas Passive skills are skills that's always in effect.
You will not be able to swap between Active and Passive type after creating it, since it's altering some of the fundamental properties of the skill.
For instance, with a Passive skill to Warriors you could make them stand out more by giving them Defence stat boosts for increased HP.
Active skills are simply skills like Firaga or Power Break.

Another important thing is that skills have durations. Called Skill Lasting Time in the interface, this can be used to create DoT (Damage over Time) skills. Alternatively, if you choose Restoration effects, you would get healing over time (Regen). This would effectively allow you to create status properties though not in the sense I had originally planned it. But you can understand it, if you add small amount of damage and make it last say 5 turns, you could call that skill Poison and watch the opponents HP whither away.

You will be able to configure an usage cost, where you will input a number followed by a dropdown box where you can select between MP and PP. Yeah, PP finally has a use.
You will of course also be able to configure a skill category.

The Level Requirement and Learning Cost are two options which will have a say in how an user aquires the skill. If you set both to 0, the skill is learned at character creation, provided the class requirement is met if it's a class skill.
If Learning Cost is set to 0, the skill will be aquired once a player reaches the specified level.
And finally, if Learning Cost is set, the user must buy the skills at that cost.

The Governing Stat option only has an effect if the effects you attach to the skill has the "Governed by an attribute" set on it. Needless to say, it's the stat that is taken into the calculation.


That's about what can be said about the skills :)
I have no ETA due to the fact that none of the front-end stuff for this is coded yet.

Amaranth 05-29-2006 08:16 AM

This is by far my favorite mod so far, outshining even the vbArcade! :) And I can't wait for the next update, your new features sound like alot of fun. Thanks alot for your hard work, Revan, can't wait to see what you come up with next!


[Q?] Only the Admin, usergroup 1, is listed in my RPG user table. Which means I can't for example give mass XP to my members, which is a shame. I have installed and uninstalled the mod a couple of times due to database issues(forgot to change Cash Option), if that matters. MySQL and PHP are not old. Can someone please tell me how to resolve this?

(I have of course tried RPG User Table Populate Fix, RPG User Table Cleanup, Rebuild RPG Users and the other logical options in the Maintenance section)


[Q?] Only the primary Admin 1 sees the RPG admincp link, how can I expand this to include the entire Administrator group?


[REQ]
It would be wonderful if one was able to duplicate an existing Race with all it's genders and their classes to create a new race. This would save alot of time and effort.


[REQ] It would be fun if users could upload avatars for their champions.

Revan 05-29-2006 09:54 AM

Quote:

Originally Posted by Amaranth
This is by far my favorite mod so far, outshining even the vbArcade! :) And I can't wait for the next update, your new features sound like alot of fun. Thanks alot for your hard work, Revan, can't wait to see what you come up with next!

Thanks for the nice feedback :)
Quote:

Originally Posted by Amaranth
[Q?] Only the Admin, usergroup 1, is listed in my RPG user table. Which means I can't for example give mass XP to my members, which is a shame. I have installed and uninstalled the mod a couple of times due to database issues(forgot to change Cash Option), if that matters. MySQL and PHP are not old. Can someone please tell me how to resolve this?

(I have of course tried RPG User Table Populate Fix, RPG User Table Cleanup, Rebuild RPG Users and the other logical options in the Maintenance section)

That makes no sense whatsoever. I mean, I understand what it is you mean, but why it's happening is what makes no sense. When you say only the Admin, usergroup 1, dya mean userid 1 or everybody in the usergroup id 1?
Also you wouldn't need to uninstall/reinstall due to the cash option, that can be updated without problems.
Quote:

Originally Posted by Amaranth
[Q?] Only the primary Admin 1 sees the RPG admincp link, how can I expand this to include the entire Administrator group?

Become Super Admin by editing the config file, then alter peoples Can Administer RPG.
Quote:

Originally Posted by Amaranth
[REQ] It would be wonderful if one was able to duplicate an existing Race with all it's genders and their classes to create a new race. This would save alot of time and effort.

With the next version, you will be able to export all the RPG info bar the Options to an XML file, so you could duplicate them that way :)
Quote:

Originally Posted by Amaranth
[REQ] It would be fun if users could upload avatars for their champions.

Ill note that down, though it doesn't have the highest priority. Getting this new stuff to actually work, eh? ;)

Amaranth 05-29-2006 04:45 PM

Thanks alot for answering my questions! There are some problems that persist though... I am not able to Mass XP the users anymore. Moderators and Admins have very low XP, trying to re-set the values doesn`t have any effect. Trying to update the RPG user tables only returns information that Admin user was updated, no-one else... Ah well, I`ll fool around a little more and see if I get any wiser. :)

Here is the latest error message, when trying to re-install the mod:
Code:

Database error in vBulletin 3.5.4:
Invalid SQL:
ALTER TABLE `vb_administrator`
        ADD `rpgadminperms` INT( 10 ) UNSIGNED NOT NULL DEFAULT '0';
MySQL Error  : Duplicate column name 'rpgadminperms'
Error Number : 1060
Date        : Monday, May 29th 2006 @ 07:33:08 PM


Edit: Okay, I found out that I needed to edit my config.php file and allow myself to run SQL queries from the Admin CP. Using commands like "ALTER TABLE vb_administrator DROP rpgadminperms" on similar syntas for vb_user rpg, items, inventory and vb_usergroup drop rpgpermissions... But, I still don?t understand the last error message I get, which is the part where it`s trying to feed info the rpg_alignments, rpg_battlemusic etc. tables...

Now I have deleted all the vb_rpg_* tables using the "DROP TABLE vb_rpg_alignments" and so on - but the install script still stops and says there is a duplicate key entry or whatever... Which I don`t understand, cuz I have deleted all the tables, and they should have been reconstructed in empty form... Please help!

Revan 05-30-2006 08:07 AM

Quote:

Originally Posted by Amaranth
Thanks alot for answering my questions! There are some problems that persist though... I am not able to Mass XP the users anymore. Moderators and Admins have very low XP, trying to re-set the values doesn`t have any effect. Trying to update the RPG user tables only returns information that Admin user was updated, no-one else... Ah well, I`ll fool around a little more and see if I get any wiser. :)

Here is the latest error message, when trying to re-install the mod:
Code:

Database error in vBulletin 3.5.4:
Invalid SQL:
ALTER TABLE `vb_administrator`
    ADD `rpgadminperms` INT( 10 ) UNSIGNED NOT NULL DEFAULT '0';
MySQL Error  : Duplicate column name 'rpgadminperms'
Error Number : 1060
Date        : Monday, May 29th 2006 @ 07:33:08 PM

Edit: Okay, I found out that I needed to edit my config.php file and allow myself to run SQL queries from the Admin CP. Using commands like "ALTER TABLE vb_administrator DROP rpgadminperms" on similar syntas for vb_user rpg, items, inventory and vb_usergroup drop rpgpermissions... But, I still don?t understand the last error message I get, which is the part where it`s trying to feed info the rpg_alignments, rpg_battlemusic etc. tables...

Now I have deleted all the vb_rpg_* tables using the "DROP TABLE vb_rpg_alignments" and so on - but the install script still stops and says there is a duplicate key entry or whatever... Which I don`t understand, cuz I have deleted all the tables, and they should have been reconstructed in empty form... Please help!

Ok that was hella much... Uhm why didn't you uninstall using the uninstall.php script this time? Because I know for a fact that removes the rpgadminperms there...
And I cant explain any error messages I don't see.

Amaranth 05-30-2006 06:11 PM

Sorry for the confusion! :) Illegible English in my previous post, which doesn`t help...

What happened was that when I ran the uninstall script, it was interrupted because the database query/post limit from my provider was reached - effectively shutting everything down for 1 hour... This might have caused some problems/corruption somewhere, perhaps? After this happened, that is when the uninstall script didn`t function properly - it had been working fine until said incident took place... So, I`m not blaming you for a crap uninstall, it worked well until it got iced by my domain provider...

The error message is the same that has been posted previously in this thread, when the install script is trying to populate/setup the rpg_alignments, rpg_races etc. tables.

EDIT: Here is the above-mentioned error message:
Database error in vBulletin 3.5.4:

Quote:

Invalid SQL:

INSERT INTO `datastore`
(`title`, `data`)
VALUES
('rpg_alignments', ''),
('rpg_battlemusic', ''),
('rpg_categories', ''),
('rpg_classes', ''),
('rpg_clans', ''),
('rpg_elements', ''),
('rpg_genders', ''),
('rpg_ibots', ''),
('rpg_items', ''),
('rpg_races', ''),
('rpg_scenes', ''),
('rpg_types', '');

MySQL Error : Duplicate entry 'rpg_alignments' for key 1
Error Number : 1062
Date : Thursday, May 11th 2006 @ 03:24:27 PM
Script : http://tvseriesforum.com/tvsf/installer/index.php
Referrer : http://tvseriesforum.com/tvsf/installer/index.php
IP Address : 24.17.40.123
Username : The One
Classname : vb_database

Revan 05-30-2006 06:35 PM

Quote:

Originally Posted by Amaranth
Sorry for the confusion! :) Illegible English in my previous post, which doesn`t help...

What happened was that when I ran the uninstall script, it was interrupted because the database query/post limit from my provider was reached - effectively shutting everything down for 1 hour... This might have caused some problems/corruption somewhere, perhaps? After this happened, that is when the uninstall script didn`t function properly - it had been working fine until said incident took place... So, I`m not blaming you for a crap uninstall, it worked well until it got iced by my domain provider...

The error message is the same that has been posted previously in this thread, when the install script is trying to populate/setup the rpg_alignments, rpg_races etc. tables.

EDIT: Here is the above-mentioned error message:
Database error in vBulletin 3.5.4:

I see, well that makes it clearer :)
Here's what you must run to fix that:
[sql]DELETE FROM datastore WHERE title LIKE 'rpg_%'[/sql]

Also you might want to swap hosting companies, because a forum that can't run more than 10 queries per hour does pretty much sod all good ;)

Amaranth 05-30-2006 07:19 PM

Ace! Thanks alot for your help :)

D-Block 06-01-2006 01:47 AM

What is the table used to INTEGRATE this with VBPLAZA/EBUX?

I have no idea what the right table is to make these 2 work together so I get sql errors unless I disable it.

Please, someone who has worked with VBplaza/ebux+RPG Integration, help me out here, I have been at this for an entire day. =(

coRtALoS 06-04-2006 09:11 PM

Quote:

Originally Posted by Revan
As you can see from the error, it's a problem with the Arcade.
Okay, then we have established that the database is OK.
Are you sure the templates are all reverted, if you had edited them?

Hi

Yes they were all reverted. I tried some of the maintanance functions, but not all. Which would you suggest?

Thanks
:)

Tulsa 06-04-2006 10:03 PM

Well finally loaded this thing to give it a whirl.

Very nicely done! Two thumbs up! :)

Any clue when the update is going to be released? I'm going to wait to release it to my members until then.

I moved everything into a dropdown on my main navbar, when the next release comes out is there going to be an option for this as that second navbar just looked awful on my site?

mikeylikesitz 06-04-2006 11:27 PM

the second navbar and the postbit are stopping me from installing this atm. i cant wait to see the next release though

Tulsa 06-04-2006 11:33 PM

I didn't install the postbit stuff myself, no real need for it. Fixing the navbar was a snap too.

Revan 06-05-2006 03:33 PM

Quote:

Originally Posted by coRtALoS
Hi

Yes they were all reverted. I tried some of the maintanance functions, but not all. Which would you suggest?

Thanks
:)

Maintenance functions are not important as the cache works.
I have no idea what your problem is, sorry.

Quote:

Originally Posted by Tulsa
Well finally loaded this thing to give it a whirl.

Very nicely done! Two thumbs up! :)

Any clue when the update is going to be released? I'm going to wait to release it to my members until then.

I moved everything into a dropdown on my main navbar, when the next release comes out is there going to be an option for this as that second navbar just looked awful on my site?

Yeah Im going to start work on that option right now.

Quote:

Originally Posted by mikeylikesitz
the second navbar and the postbit are stopping me from installing this atm. i cant wait to see the next release though

I hope you are aware that the postbit is user selectable, and you can even choose the default in the AdminCP...

Tulsa 06-05-2006 05:48 PM

Any thoughts on what might cause this?

Code:

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 611198 bytes) in /home/*****/public_html/forums/includes/rpg_plugins/global_complete.php(5) : eval()'d code on line 2

It happens when trying to read a thread in the forum, totally unrelated to this hack. As the error has noted I am running php5

mikeylikesitz 06-05-2006 07:15 PM

Quote:

Originally Posted by Revan
I hope you are aware that the postbit is user selectable, and you can even choose the default in the AdminCP...


Right, but i only use the regular postbit in my site and you havent built in the rpg info into it yet correct?

Revan 06-06-2006 08:28 AM

Quote:

Originally Posted by Tulsa
Any thoughts on what might cause this?

Code:

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 611198 bytes) in /home/*****/public_html/forums/includes/rpg_plugins/global_complete.php(5) : eval()'d code on line 2
It happens when trying to read a thread in the forum, totally unrelated to this hack. As the error has noted I am running php5

I believe this can be fixed by running the "Rebuild RPG Users" Maintenance function.
If not, then I suggest you contact your host and hear what they have to say, because it is the first time I have ever heard of this error in relation to this hack so I don't know any more for certain.
Quote:

Originally Posted by mikeylikesitz
Right, but i only use the regular postbit in my site and you havent built in the rpg info into it yet correct?

Ah, that is correct.
Yeah I will work on that postbit today, so it will be in the next version fo sho' ;)

Tulsa 06-06-2006 11:02 AM

Quote:

Originally Posted by Revan
I believe this can be fixed by running the "Rebuild RPG Users" Maintenance function.
If not, then I suggest you contact your host and hear what they have to say, because it is the first time I have ever heard of this error in relation to this hack so I don't know any more for certain.


I ran the rebuild (theres only two users as we're still testing) and it didn't change anything.

I repaired and optimized all tables within vbulletin and ran a repair on the mysql database from my host.

Disabling the hack - everything works fine.
Changing from php5 to php4 - hack enabled - everything works fine.
php5 enabled - hack enabled - I get this error but only on a certain few posts.

I can't seem to find any condition that only exists on those few posts it errors on. They are normal posts.

It certainly appears this hack and php5 don't really like one another very well.

Revan 06-06-2006 02:43 PM

Which I find odd given the fact that
a) I know of a forum that runs this on php5
b) I develop on php5.1

I would contact your host about increasing the memory limit.

Tulsa 06-06-2006 04:33 PM

I find it odd that it only happens on a few posts. There does not seem to be any regularity to the issue, it's sporadic. Since I installed this on a live board, could something have happend during the installation? I mean those posts aren't calling to that file to start with and there appears to be no connection between those posts and this hack.

The hack itself does seem to run fine under php5.

Revan 06-06-2006 07:27 PM

the user recache should have solved it as that is the cure for most postbit related errors, but if its not fixed then Id check with your host about increasing the memory limit.

Queball_Beast 06-07-2006 08:45 PM

Hello Revan, Awesome Hack. I have a problem. I`m trying to reset all user exp, I want everone`s level to go back to level 1, But i`m getting an error when I try to reset the data.

MySQL : You have an error in your SQL systax. Check the manual that corresponds to your MySQL server version for the right syntax to use near "0' at line 3
Error Number : 1064
Can you or someone help me with what I need to do here please?
The Hack is schedule to go back online Friday 06/09/2006.
Thanks in advance for all your help. :banana:

Revan 06-08-2006 10:27 AM

I need to see the complete MySQL error in order to help you with this problem.

Revan 06-08-2006 11:13 AM

Also I have an update:
Sorry about the long weeks of wait with no bug fix, I originally didn't think that anything could be done without all the changes to the source code I already made (which makes battles completely nonfunctional ATM).
I was wrong.

I am working on Patch Level 1 (PL1) which will be released for 3.5.4 and, shortly after, 3.6.0 Beta 1.
Problems adressed during this beta is:
  1. "Invalid Monster Battle" messages appearing incorrectly (untested fix, I am unable to reproduce and I will need someone to verify)
  2. Two Equip bugs, details here.

Sorry for the inconvenience.

Revan 06-08-2006 01:01 PM

Patch Level 1 released.
Hopefully this should fix issues some users were having with "Invalid Monster Battle" appearing incorrectly for some users (Please verify this fix, anyone with the problems), as well as the two Equip bugs detailed in the Bug Tracker on NeoMateria.

I will release this version for vB 3.6.0 sometime during the weekend or next week, I hope

Tulsa 06-08-2006 04:26 PM

What is the upgrade path from 3.5.0 to 3.5.1? I didn't see anything in the readme file relating to this.

Queball_Beast 06-08-2006 07:47 PM

Quote:

Originally Posted by Revan
I need to see the complete MySQL error in order to help you with this problem.

Ok i`ll send it to you. thanks

Revan 06-09-2006 06:30 AM

Quote:

Originally Posted by Tulsa
What is the upgrade path from 3.5.0 to 3.5.1? I didn't see anything in the readme file relating to this.

There hasn't been any template changes between those versions then. Very few templates are edited in this hack anyways.

tienkhom 06-09-2006 08:43 PM

when I edit group, see below that
Can Access RPG? yes
Is Game Master? --->what does it mean ? what the role of game master
thanks for advance
more I am using vbbux/vbplaza, it is points system and RPG is gil, how can i make them work together or exchange point to gil

Tulsa 06-11-2006 12:42 PM

Is there anyway to prevent a user from simply opening a second window and healing themselves while they are in battle?

Revan 06-11-2006 01:19 PM

That only happens to you because you are Administrator.
That is the function of Is Game Master, you are able to bypass the following things:
  • "You are in battle" errors on healing etc
  • Level checks on items
  • battle type checks on items

Enabled by default on Admins, SMods and Mods. Reason for this is that your staff should be trusted =p

Tulsa 06-11-2006 02:36 PM

:D

Okay, no problem then. The staff is fine but it was with a staff member we tested and found this out. Didn't want to release that info to the general users. Perfect thanks!

Tulsa 06-11-2006 11:05 PM

Okay is this normal after a battle?

gained 5 EXP and [ARG:3 UNDEFINED] [ARG:4 UNDEFINED] as a reward for exploits in battle.

Revan 06-12-2006 09:06 AM

mm I could have sworn I fixed that...
Thats just a small phrase problem as Im using the same phrase for both monster battle (where you gain gil) and regular battle.
Had to differentiate the two phrases.

You can just ignore it as it doesnt cause any harm, if there will have to be another Patch Level on the RPG Ill try to remember to include it.

dt~ 06-14-2006 05:50 AM

Ignore it? lol. Uninstalled.

Revan 06-14-2006 08:44 PM

You uninstalled the entire hack just because I don't have the time to fix a small text glitch?
Wow. Remind me why I bother doing this in the first place...


All times are GMT. The time now is 05:16 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.02065 seconds
  • Memory Usage 1,897KB
  • 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_code_printable
  • (24)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