![]() |
I have a question. I've divided the itemshop into different sections for the different classes, the only thing is, the only weapons people can buy are the generic ones, no matter what class they chose. When they access their classes weapons, it tells them that they must be that class to buy them.
ie i have a pistoleer class, and they should be able to buy the pistols, but whenever they go to that classes shop they are told they must be a pistoleer to purchase them...... any ideas? Or do I have to just have everything as generic? |
Quote:
At any rate, the new installer has redundant sections removed from it, patches for which will be found in the new version due to be released once all bugs have been pinned. Quote:
First of all, those warnings appear because the rpg_rpg_type is of course auto_increment (since if you add more than one type you would get SQL errors if it didnt automatically increment by one.) But the default value, the value that your users have BEFORE they update their stats, are "Unknown" which has an ID of 0. I might change the numbers to have 1 be the default, but this would NOT work if you already installed the hack. Dont worry about it ;) Second, please consult the FAQ_FRE file for solution to your RPG Name problem. :) I will move that info over to the installer as it seems like everyone gets this problem :) Quote:
[SQL]ALTER TABLE `user` DROP `rpgstats`; ALTER TABLE `user` ADD `rpgstats` CHAR(1) NOT NULL DEFAULT '0';[/SQL] 0 is the dropdown value and 1 is the normal postbit value :) (Just remember to run these seperately in acp, and in quick succession to avoid SQL errors if an user tries to update ;) ) Thanks for clicking install btw :) Quote:
I have not done extensive testing on the Battle Types yet, but it will come in time ;) Thats about everything I guess :) The Service Pack 1 that will update this hack to v2.5 build1 is in the works, with new bugs being squashed every day :) I cannot tell an ETA yet, but heres the remaining sections to test: * Itemshop * User's Battle Types as discussed in the above quote * Battle * Healing Finished sections: * Entire ACP * Entire ClanCP * RPG CP Additional work: * Templates :) |
yeah, that was one of the first things i did (altering the classes etc into specific groups) and that is where the problem began, as the itemshop shows the classes, but when you clik them it doesnt actually let you buy the weapons for that class. If needs be I will drop in a test account, give it an rpg class and let you see what i mean.
|
Quote:
@SB2002, there's no problem with the Itemshop, I've tested and I can buy any items I want while my class is generic and that item is for generic class. But well the itemshop is messy, Revan. I asked you to let users have many items in their inventories, it meant: you can buy 10 swords in the weapon shop, 5 armors in the armor shop, 4 accessories and 13 potions in different kind from the Potions Shop, 7 spells from the spell shop but can only equip 1 weapon/1 armor/2 accessories/4 potions/3 spells at a time, and the total items you can buy is 30. well that way everything would be very easy and comfortable for users. We don't need something like: If you want to let user has 2 weapon, create 2 weapon shop hence if I wish to let them own 10 swords I will have to forget everything to sit there and create items for the shops. But actually with this items system, If I create 10 weapon shops it means everyone will be able to have 10 weapons in battle. my idea sounds troublesome huh ? it's ok, it's just MHO |
death; yes I understand what you mean but it is not possible to let an user equip more items than theres categories.
At least not with the current way of storing items, an Im not sure its smart to go about redesigning the entire item storage database :p Quote:
EDIT2: I have fixed that bug along with some other small graphical bugs, expect a fully working itemshop in v2.5! :D ;) |
splendid. Much appriciated. What sort of eta do you have on 2.5 as I have a board full of members wanting to buy things, lol
|
I dont really know, I have to finish writing the changelog for the itemshop.php as well as test every aspect of the battles.
Plus I hear DeMiNe0 got some errors for me in the showthread and showpost files.... :p Id rather not rush the new update, just to be sure I got all the errors. Such as your error, at first I had this long step by step update gotten as to what I did to get it working (cos it LOOKED like it worked), but then after about 15 mins I saw "wtf this is bs it doesnt work *runs to edit post before he sees it and thinks Im dumb*" ;) Plus I think its dumb to release quickfixes, because this would just confuse users that downloads the new zip and sees the changelog and goes "hey I cant find this it tells me to find in the changelog!" :p Im working thoroughly fast ;) |
nah thats cool dude, no rush on it, i'll just throw a couple more arcade games at them to keep the masses happy, lol.
|
i'm not able to reset the rpg stats it goes to a blank page
When i try to start the battle accepting it , it says invaild password or battle i also get this error when i try to cancle a battle PHP Code:
PHP Code:
|
have al lthe bug fixes iv read in this thread and all the little mods been added to the main page zip file yet?
|
Hmm, I installed this hack but funny enough some images won't show although in the correct directories...This is especially the case for the itemshop directory. hat.gif shows for example but racket.gif not although it exists in that directory.
|
Quote:
Quote:
Enter your AdminCP, and select Edit Options under Battle. There set new values for MA and PP, recommended values are 0.003 :) For your battle accept error, this has happened before but was reported to have gone away. But as I see its back, it will be pinned down and fixed for v2.5 ;) For your Cancel Battle error, that is a small fix which I am just about to note down in the changelog. To fix it quickly, enter battlefight.php and search for: [sql]DELETE FROM ".TABLE_PREFIX."battle[/sql] change to [sql]DELETE FROM ".TABLE_PREFIX."rpg_battle[/sql] And as for your functions_online stuff: find PHP Code:
PHP Code:
Quote:
Addons: None. The addons are in a special post linked to from the main page. Status on the v2.5: I am just going through the files looking for missing ".TABLE_PREFIX."es, with much help from DeMiNe0 :) After this I will start picking apart the battle part of the hack on the live forum. Then, Im gonna do a fresh reinstall (cos I made tweaks to the installer), and go through it all again. After THAT, then all bugs should be gone and I can put out the new version :) And dont worry about having to redo/reupload all the files if you make modifications to the files, all the changes are documented in a changelog file. ;) EDIT: I just managed to fix all bugs in the heal.php file, healing now works 100 % :D |
Quote:
PHP Code:
[sql]DELETE FROM ".TABLE_PREFIX."battle[/sql] change to [sql]DELETE FROM ".TABLE_PREFIX."rpg_battle[/sql] i don't have a [sql]DELETE FROM ".TABLE_PREFIX."battle[/sql] it is already [sql]DELETE FROM ".TABLE_PREFIX."rpg_battle[/sql] Thanks for your help ^__^ i know you will do ur best even though it isn't paid XP |
Yes, they are in the same dir. Also, if I right-click on the cross and check the path, it's correct.
Would it be possible that mod_rewrite does sth wrong there? |
Quote:
All I know is that it works correctly here, and every dam other test/live board Ive ever seen... :p Quote:
Can you post the 2-3 lines surrounding your line 1319 in that file then? |
Well, I only know that the weapons, asc.gif, desc.gif, src.gif and no item.gif give a red cross. All other gifs work. Funny thing is that if I enter the path to those images directly, it leads me to a crappy main page of my site whereas the working images show up. That's why I asked about mod_rewrite as I use it for the main site. See the following examples:
http://forum.arachid.net/images/itemshop/racket.gif (doesn't show in list) http://forum.arachid.net/images/itemshop/hat.gif (shows in list) The files are chmod 777 just to be sure it's no permission problem. The mod_rewrite is actually for www.arachid.net and not for forum.arachid.net. |
I can see both of them fine, just like the normal images.
This problem doesnt seem like it can be fixed on my side, sorry :( On a brighter note, Ive sent the RC1 of the changelog for v2.5 over to the team's testers (yeah didnt that sound fancy :p ), and it addresses 14 errors, redundant coding, adds the features of Admin Only-Classes settable in the ACP (this is actually just a touchup of the old code, previously the Admin classes was selectable for users, now they are hidden), and the RPG CP now also displays your current Battle Type (like Generic etc) It will most likely be made public in 1-2 days :) |
I think im going to wait till this is more stable before i install it. Last thing i want is my boss getting mad at me for the site going down or any errors.
|
Quote:
|
Suggestion -
Add a script that would reset everyone's stats based on their postcount. :D I tried doing this and accidently reset'ed everyone's characters. *laughs* Good thing it was on a test site, *laughs* HoC |
lol nice i don't know what is wrong with functions_online.php i think i just have to site down and re trace my steps ^__^
When the new version comes out will you have a upgrade.txt so we don't have to clean install again |
Quote:
Dont worry, the new upgrade's battles has been tested and works 100 % ;) Quote:
Please enter the 'Reset' script in your AdminCP and read each description thoroughly to find your reset preference ;) (I cant tell you exactly since Im away from my comp atm) Quote:
|
when will the upgrade be release?
|
Quote:
|
Quote:
Ive thoroughly tested the new installer also, so it doesnt have any problems. About the release time, Ill post back once I can breathe some life into the tester ;) |
Quote:
|
Nah this has me completely stumped.
I tried the install and reinstall like 5 times and theres no errors. Anyways I havnt heard anything from testers about errors, and all works fine in all tests, so what the hell, heres the new version :) |
what if i just installed the lottery and not the rpg thing? will the lottery work correctly with Ushop?
|
Hi, Revan
I meet the same problem when have a new install. pls check yours pm to find my website. Code:
Database error in vBulletin 3.0.3: |
just try removing the ; after MyISAM then... as thats the character in the error :ermm:
|
revan, if i were to install the lottery part ONLY and not the RPG stuff will it work properly with Ushop?
|
Hello,
I recently tried to install this hack and came up with this error: Code:
Database error in vBulletin 3.0.3: Thank you. |
Quote:
[sql] `hidelevel` tinyint(4) NOT NULL default '0',[/sql] change to this: [sql]`hidelevel` tinyint(4) NOT NULL default '0'[/sql] Quote:
Its worth a test, but I cannot provide support should anything go wrong ;) |
Nice hack, thanks
|
1 Attachment(s)
Ok guys, I have fixed my install problems that most of you were having, so if you would like help, please use my battleinstall.php file and preform these few simple tasks.
*Note: I am not an experienced PHP coder, I am just trying to help myself and others, I will not offer support for this fix, so don't PM me! LOL Now go into your PHPMYADMIN and go into your users table. Now DROP the following rows before you try to reinstall with the fixed install: DROP rpgclass DROP rpgrace DROP alignment DROP rpgtype DROP rpggender DROP hp DROP maxhp DROP ma DROP maxma DROP pp DROP maxpp DROP ap DROP element DROP inbattle DROP clan DROP xp Now after that is all done, we need to clean out all of those old RPG tables added by any previous install attempt. So loud up the installer/installer.php files and click delete on the side menu. Go into your PHPMYADMIN and make sure they were all deleted. If you get an error when you click, don't worry, I got that too :P Now you are safe to upload the battleinstall.php and run the install. If it says Success or Install OK, then you are GOOD2GO. If you have problems, post here, no PM's! |
Quote:
I'll wait to see if people report error fixed before I update the first zip ;) |
Thanks, I just try to help, I will also be re-doing all the RPG templates to make them look more vB Intergrated than off with the style. I should have it done sometime by next week I hope, because there are alot of templates and doing them all today is out of the question :P LOL.
|
Finally! an installer that works! I had given up on this hack after about 30 minutes of messing with the script.. I'm lazy.. what can I say.. hehe
|
Glad to have helped! Well, hopefully it will serve others well, it did take me alot of messing around with the whole shabang of this hack to actually get the damn thing running right. LOL, so the installer unfortunately is only half the battle. No offense to the makers of this port, but there should have been a little wait until you fixed most of the kinks, more beta testing and what not. I would ask for more reorganizing in the readme.
Hopefully my new templates will make it look nicer as well. :) |
Um just FYI the v2.5 Gold version fixes all bugs, apart from apparently this installer.
And the readme IS as organised as it gets... what version did you dload anyways? :ermm: Aight if the installer works Ill update the zip and send out an update.... |
All times are GMT. The time now is 08:06 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:
|