![]() |
EDIT: It seems like these issues has already been resolved, apart from the admincp instructions being unclear ...
Could you tell me where you saw the lottery lacking stripslashes? I can find it where it supposed to be in the file thats upped to here.... :ermm: |
1 Attachment(s)
I created a lottery. Called it "King-X's Lottery". Put some description for it which included words with apostrophies, then when I went to the lottery page the title and description had / added.
Incidentally, I got this error in init.php when adding midis. I don't know if it's a hack clash as my ini.php is modified already but I have to attach the error because the screen only shows for a moment. The attached image refers to init.php line 343 which for me reads; PHP Code:
|
As for matters being resolved: nothing I've mentioned has been resolved in the instructions. There is still an instruction to edit two URLs in battle.php (an URL which doesn't exist). It still doesn't say what to do with the images, and the first steps still says "run install/installers.php" when the directory should read "installer/installer.php.
I'll tell you what would be good though: some sort of links solution. There're many sections and it's hard to find links to them, save maybe through the RPG manual. -- Some user reported the following bug in RPG CP; Fatal error: Maximum execution time of 30 seconds exceeded in /home/gamercr/public_html/bb/includes/db_mysql.php on line 210 . I don't get that error but this user is in a custom usergroup. Another user reported the same problem. They aren't in a custom usergroup but they said they suspect it happened because they're part of a clan that doesn't exist (they made and deleted a clan). (By the way I run vB 3.0.3 and yes I do have the uShop hack.) |
Ok first of all that constant only evaulate to scalar stuff isnt something I can fix, because I seriously have no bloody clue wtf it means :p
EDIT: I see that edit stuff now. I was looking in the wrong place before ;) zip updated. As for the timeout stuff, that isnt this codings fault. Its PHP been compiled wrong on your server, as 90 % can run this without that stuff. :) And "member of a clan that doesnt exist" is impossible, if someone deletes a clan thru the clancp, all records of it is removed and they should read "Not in a clan" ;) |
Hmm, ok so apparantly it has nothing to do with them deleting a clan. All I know is two people reported that error, but like I said: I don't get that error so I'm still in the process of locating the source of the problem.
Oh, and congratulations on your fixes today... Now I need to ponder how to link to all these RPG pages. My Quick Links is getting rather long. :/ Update: I 'think' this was ok when I installed it but since unleashing this hack on my users, race doesn't show in the RPG CP and though the races do show in the admin cp they can't be edited and remain at the default 'current'. (They refuse to update.) I did a test with another account and it does show in the RPG CP if you haven't selected yet, though the only option for it now is 'Current', so I guess options users made affected something. Running the reset has fixed something though, so I will see if I can pinpoint what's going on. Uncached template; rpgcp.php: itembit2. |
You can link to the rpg files by installing either one of the 2 navbar addons in the addons post, linked to from the first page.
Weird race stuff your getting. I edited races for my own forums (using the same file as you, from the zip) only yesterday :p I wonder what good the reset would do :p ah well. That uncached template is already listed in the rpgcp.php file, I guess it is uncached because the # of items an user got is relative. |
Oh well I figured out the 'blank race' thing. It's just the way it works. If no race is set to 'good' then if you choose to be good you'll just see a blank dropdown.
Thanks for the tip regarding the add-ons. I'd missed that. Unusual but I've been a workaholic with forum stuff lately. With rpgcp.php I'm still getting a user get either; Fatal error: Maximum execution time of 30 seconds exceeded in /home/gamercr/public_html/bb/includes/db_mysql.php on line 223 or Fatal error: Maximum execution time of 30 seconds exceeded in /home/gamercr/public_html/bb/profile.php on line 852 They seem ok when I reset things, UNTIL they update their settings. Most of the others are fine. I've also been informed this happens at another board I used to work at. As for PHP timing out, I've not had this issue with the other 200 odd hacks I ever installed. I'm not saying your explanation isn't necessarily right but I find myself having to weigh things up. And are admins supposed to not be able to battle? I can't battle even if I follow the prompt to 'update stats'. It seems the others can battle though. |
weapons where selected as non-combat >_< yea so i think it is fixed
|
Quote:
And the timeouts..... I really cant do anything... Seeing as I cant reproduce it, and its like 4 people in total with this problem... Really sorry mate :( Its good to hear you got your problem sorted out Raz :) (at least some problems are fixeable :p ) |
I discovered a problem with the PMing.
I initiated a battle and it sent me a private message. This was the message. Your battle has been prepared. It is battle number 2 and is called TEST. There is $0 at stake in this battle. Your battle password is 'RPGTEST'. To go to your battle click /battlefight.php?action=enterbattle&battlenumber=2& battlekey=RPGTEST]here When I clicked the link it brought me to this invalid URL: http://$vboptions[bburl/ I'm guessing there was just a slight mix-up in the PM code. |
Quote:
And how does one equip the items they bought? |
Quote:
|
^_^
Quote:
|
Quote:
|
Quote:
|
i'll go back and take a look at the changes i made and post them here... but i'm not too sure if it will fix your particular problem. the timeouts were happening for every user on my board. but i'll get back to you all the same.
|
Revan, MSN me. My MSN list got wiped and i lost your address.
|
Quote:
|
Quote:
Quote:
I might include a new option to reset without money going away when I get around to touching up that file :) And tons of people asked me about the equip, they are automatically equipped. If they do not apear in battle, then theyare set to non battle items and you gotta fix it inACP. |
Awaiting on the same fix Troak is.
Also can you select a specific user account to send the battle PM's? I'd like to be able to set up an account that is like "The Battle Messenger" that delivers the PM's to people, instead of using one of the admin accounts. As a side note when running the install file I was logged in as a user who although had all admin rights, was not apart of the Primary Admin group. This was a sub group I created for admin to not appear in the "Forum Leaders" page. I found that the install would only work without the sql errors, if you are logged in as a user that has it's primary group as Administrator. A minor thing as most people will be in that group as primary users by default if they are admins. So far the install has gone smoothly apart from that one hickup. Keep up the great support Revan. :) |
Normally I would have it run with the main global.php file, but that generated header sent errors, so I decided to go with the error-free admincp/global.php
(Later I also realized this is a security feature :p ) I cant really help you with that issue, its the way vB gives out script run rights (or summit like that) ;) You can change which user is displayed in the PM notification by altering these bits of code in battle.php: (lines 353 through to 367 approx) PHP Code:
PHP Code:
On a sadder note, I have just recieved a notification of a most disturbing fact: A site distributing vBulletin code modifications illegally (IE with the explicit purpose to avoid having to show licenced status here at vbulletin.org) has today uploaded the v2.5.3 of this RPG Integration Hack. This pisses me off because I did not work my asses off to get this hack fixed up just so every leecher in the world can use it. I give it to YOU guys'n'gals for free because you, like me, have realised that vBulletin is an excellent forum software, and found it worth the money. The user uploading it goes by the name of "rogue" on there, I dont know if that rings a bell to anyone on here. I just hope for his sake hes not dumb enough to use the same username here, like someone else on there did (unless he was uploading under false name to frame someone on here). Ive taken image evidence of the abovementioned user (OR imposter, Im not framing anyone), and the RPG Integration Hack upload itself. This has pissed me off greatly. Its the sorta thing that makes me regret releasing it. If you want to distribute this hack to illegal websites, you must pay me $160 for each user that downloads the hack, which I will then send back to the users downloading it so they can stop being thieves. I wont stop doing this hack for you guys just because of this, youve all been very patient and overbearing with me, which is what makes me want to continue this. :) Now I know Ive spoken my opinion in the Lounge that may make me look like a hypocrite for saying this. I refer to the "Re: vB Call to Home" thread if anyone wants to know what I mean. But Id just like to distinct between the 2 posts. In that thread I said that I agree with the statement that piracy of vB will help spread the word and give users like me a complete tour of the software and what it can do for ME, MY forums and users. This doesnt mean I want people running a live board with illegal vB's, and have good forums thanks to our hard work. Thats enough ranting for now. //peace UPDATE: Hotfix for the bug 'Battle PM Links are broken' is attached to the 'Addons/Hotfixes' post, linked to from the first post. :) |
I ran a test battle, and I'm not sure if it only happened to me, but there seemed to be a lot of errors with coding somehow, I'll try to post up some examples soon.
|
This hack adds 23 database tables (including the uCash ones)
rpg_battle rpg_battle_midis rpg_battle_options rpg_battle_posts rpg_battle_scenes rpg_battle_stats rpg_clan rpg_items rpg_items_cats rpg_items_options rpg_items_user rpg_lottery rpg_lottery_tickets rpg_replacement rpg_rpg_alignment rpg_rpg_classf rpg_rpg_classm rpg_rpg_element rpg_rpg_race rpg_rpg_type This takes the total tables in a database to 106 if there have been no other tables added. I would suggest you try and remove some of these tables in a near version eg rpg_items_options and rpg_battle_options could both be removed and there settings added to the $vboptions[foo] by adding the settings to the settings table, this would remove at least 2 queries and use a highly optimised query already in vB, also the class tables rpg_rpg_classf and rpg_rpg_classm could be joined and an extra coloum added to distinguish between male and female. Id also try to make a simple cash system using the userfields table, its not very hard, I made one and im a novice :P |
1 Attachment(s)
I have a problem with the battle scrren i get the error in the top left and the backgrounds are glitched see pic below
|
hmm, i get something roughly similar with your backgrounds rahzel, it begins to repeat itself (tile) down the bottom where the characters are.. only a minor thing really, but one i wanted to fix up eventually.
|
yes I am seeing the same thing as fade with the tiling of backgrounds, only where the characters stand in battle.
|
the battles work in Firefox right? I know RPG inferno 2.5 for IPB didnt work in FF...
|
Another Error I can't type in the update rpg info for the clan password >_<
|
I had this long reply typed up, but then this ++++ school pc crashed, so I cant be arsed to type it again.
@burnist: I wont make a points system cos there was already one in there, it had displaying errors, and people might want to use uCash which would generate the hassle of me having to put a switch in for the points system. I have noted your optimisation suggestions, and if you got more ideas you want to share, you can send me a pm with msn\email so we can talk more thorough :) thanks :) @the people with background errors: No idea how to fix that, sorry :( @jpt: yes they do, I would never code anything not for firefox ;) Battle midis wont work without the "Play BGSOUND". I cant use embed tag because that would produce screen cutter in the form of a WMP control bar and other hassle. @raz: XD your not supposed to :p That field gets automaticaly filled out when you join a clan ;) |
i know what it is
Revan its still trying to look for the wbb images |
Revan I have a question about the postbit.
I would like to have the characters face inward towards the page instead of outward, essentially using the "flip" group if images for the postbit. Where can I set this to use the "flip_*classes" folders instead of the "*classes" folders for this? Oh yes and the user id change worked great. I now have an account called the "Grim Reaper" complete with scary avatar, that brings the good news about challenges to members :D |
Quote:
I did change all the image paths tho :p Quote:
And I believe that folder change is done in functions_showthread. (and showpost.php if you want ti to show like that there as well) Something in the lines of this needs to be changed: Code:
$rpgclass3 = '<img src=" What to change to I have no idea and sorry to say no time to find out. But its there ;) |
Aight, got a small question.
When I click the Update button in the Usercp, the Edit Profile changes color instead of the update changing color. I've editted it a little, but that best I've gotten is that nothing changes color. Other then that, works great. I'm working on cleaning up the templates to make them nicer looking. |
in the php coding you did not change the image path in the battle part
|
Revan I am finally getting a handle on how this whole thing comes together and I am trying to add new classes and races etc to the board.
However, after reading the admin notes I am extremly unclear on a few points regarding stats, and how they operate within the hack. For me to create new unique classes I need to understand not only what, they mean but how they work. Without this info the hack will only boil down to a massively unbalanced system, and I can see this being an amazing addition to the forums. My specific questions are. Regular attack, Regular defence, Magic attack, magic defence, speed and Evade. Six Racial traits that according to the admin manual have a "multiplicitive effect on the users effectiveness in battle" in regards to each stat. The first four seem easy enough to understand, Reg Att, is how well you beat someone down with a weapon, Reg Defence is how well you resist that, Magic attack and Defence it would appear have the same function, yet only for magical spells. Speed and Evade, though I am having trouble understanding thier effect in a battle. Could you explain them please? I take it that the Racial options for the above multiply with the Class scores in each category to give a final number for each. Are items then addative to this score? Finally experience. Is there a table on what the different expereince points are needed for each level, and how the Power Level modifier effects this? Quote:
Thanks again :D |
Quote:
Im not 100 % sure of this, but I think so. Quote:
Quote:
Quote:
If I someday have a hella lotta time on my hands, I might develop one. NOT promising anything though. Quote:
|
Dude everything is working fine but i again have the problem with the database.When i try to optimize my database i get the following error :
Quote:
|
No theres no way to fix this.
Its not really an error either, it will just cause some hassle for you if you reupload a SQL backup. It is like that because what it says, an auto_increment value has base value of 0 ('Unknown' in the rpg hack). |
I still seem to be having problems since i uploaded the latest version to my site. I cannot edit any items in the admincp at all now, the list simply does not appear when i click edit items. Is there a specific edit i need to make or something for them to show, as I could find no instructions on what I had to do to update from 2.5.2 to 2.5.3 so i just reuploaded files....
I'm also still getting the variable error whenever I click update items too as someone was beforehand. Any idea's at all, cos if this problem has already been fixed then it obviously shouldn't be doing this...... |
Ive encountered that before, enter itemadmin.php and find:
PHP Code:
PHP Code:
Dont ask :p And about the upgrade from .2 to .5, it was only installer tuneups and a battle.php fix I sent the changed files list out in emails so you should have gotten it. |
All times are GMT. The time now is 11:13 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|