vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=5)
-   -   RPG Integration Hack /w Battle (BETA) (https://vborg.vbsupport.ru/showthread.php?t=46417)

Xyphen 12-28-2002 07:15 PM

Bitsys if you can please tell me how it works, would be really good..

Xyphen 12-28-2002 07:22 PM

this is the kind of User Profile i want to have, if you could only make the addons that I need... :rolleyes:

Bitsys 12-28-2002 10:09 PM

AViO 07:
The flip code is there for experimentation. I have not tried it so I don't know how it works either. I will look at it further once some other things are done.

I understand what you would like for the user profile and I will be working on that over the next few days, as well as some other things for the hack. I will post the add-on when it is completed.

VeoMorphine 12-28-2002 10:28 PM

could we have an Estimate of when the final is gona be out?

I've been waiting to reinstall it on my board until the final comes out.

Bitsys 12-28-2002 10:30 PM

Quote:

Originally posted by VeoMorphine
could we have an Estimate of when the final is gona be out?

I've been waiting to reinstall it on my board until the final comes out.

Final is close. Features are pretty much locked, and I am fixing a few bugs here and there. The documentation is 50% done and the install script is coming along great. Once that is completed, I will release a final version of the beta and then go final.

VeoMorphine 12-28-2002 10:37 PM

one more idea.

My members have actaly been submitting battle screens to me (heh..) and wanting them in. Is it posable that you can point the battle screens to a dir and have it select a random image?

Riddel 12-28-2002 10:39 PM

Okay well sorry for being so pesky but I have some random questions.

is there a way to hide the buff column so that the buyers can't see it? And what is the point of letting the buyer see it right now?

Is there a way that when you want to fight a user in the new battle page that it can be coded to enter the user's RPG name instead of their Username?

Thanks ^_^

Bitsys 12-28-2002 11:34 PM

VeoMorphine:
It is possible, I just have to work out the size and height of the images and automatically make a variable for it after the random selection. There are some php functions that do this I think. I will look in to it.

Riddel:
Letting the buyer see the buff column allows them the ability to make a choice as to know as to which items do more damage than others. You can modify the itemshop top, middle, and bottom templates to remove the buff column, if you wish.

The problem with using the user's RPG name instead of username is that rpg names do not have to be unique. If it is not unique, then I have to make a page where the user can select which opponent they mean to fight. This seemed rather impratical when I can just use the username.

Riddel 12-29-2002 12:00 AM

oh okay thanks ^_^

The reason I was asking about the rpg name is because I'm running a board where the user identity is kept seperate from the rpg identity so any idea you have as to how I can edit it to use the rpg name instead of the username would be helpful =)

btw, before I start sounding ungrateful, this hack is working really really good. you are awesome. It's perfect

Mijae 12-29-2002 01:08 AM

I have a small suggestion which I believe is quite easy to do for someone with a little vb experience:

Instead of making all the stats go in the postbit, make a pop-up window showing all the stats that you want. Something that will look like this in your postbit:

Posts: 500
Level: 120 [view stats] <--- opens up a new window with all stats

It will make it easier than just making your postbit 20 extra lines trying to show all the user stats in each post ;)

Bitsys 12-29-2002 03:18 AM

Riddel:
If you want to use the RPG name instead of the user name, then you would have to modify battle.php and change how it finds the user names. In theory, this should be simple, but it depends on what you want.

v0id:
When I release the profile add-on that allows a user's RPG stuff to be displayed in the member profile, then that code can be easily converted into a .php page that generates the necessary variables for the pop-up you are thinking of. Also, the variables do not necessarily have to be put in the postbit template. If you wanted to, you could display them in their own table below the actual post. I have seen this successfully done in several forums and I like that style of layout also. It is entirely up to you. If you want the pop-up though, I will work on that after I finish the member profile code.

geniuscrew 12-29-2002 07:40 PM

Help Bitsys... :/

Bitsys 12-29-2002 09:34 PM

Here is the member profile add-on. It allows you to display all of the RPG stats, Itemshop stats, and Battle stats in a member's profile. It involves one file edit.

Let me know if you have any problems with it or if some variables aren't working. I tested this on my board and everything worked.
As an add-on, it requires that you have the RPG Integration Hack installed.

.txt file:

VeoMorphine 12-29-2002 09:37 PM

WOWOWOWOWOWOW!!!!!!!!!!!!!!!!!!11111111111111

Kaelon 12-29-2002 10:17 PM

Will the member profile-add on come as standard in the final release?

Thanks again, and great work!

Kaelon

SpyGuy007 12-29-2002 10:33 PM

Whee, got a license (first post!)

Anyways, quite a few members on my forum have been asking for a way to trade items. Can this be done easily?

Bitsys 12-29-2002 10:48 PM

Kaelon:
If everyone wants it as standard, then yes. Otherwise, since it is such a small hack (1 file edit), I will include it as an add-on and strongly recommend that you install it ;)

SpyGuy007:
Hmm, a trading post. Hadn't thought of that yet. It seems feasible, but I don't think I can include it in this release. I will look in to the options over the next few days.

Currently though, there is no easy way to trade items.

Mijae 12-30-2002 03:03 AM

Add-on worked great. Any estimates of the release date of the final version?

Thunderbolt358 12-30-2002 02:07 PM

Bitsy, do you have AIM (Yuck :P), ICQ, MSN, or Y!M?
AIM:Thunderbolt358
ICQ:160149308
MSN:Thunderbolt358@hotmail.com
Y!M:flame_blast2001

SpyGuy007 12-30-2002 05:26 PM

Something terrible happened. After I upgraded from .56 to .57, all of my members, including me, lost all of their bank deposits, plus anytime they make a deposit, they can't withdraw it, and there's just a blank space next to "Bank Deposit:" in the Bank menu.

EDIT: Bank deposits are not lost, as they show up in the Admin CP, but people still can't make withdrawals and their deposit doesn't show up in the Bank.

EDIT AGAIN: I uploaded the previous itemshop.php file (from v.56) and it works, so something is wrong with the itemshop.php from v.57. Hope that helps narrow it down.

Mijae 12-30-2002 06:56 PM

That style is from ravio.com ;) and I dont see the copyright on there :P

Also, it's wise not to use this hack on a public board yet ;)

SpyGuy007 12-30-2002 06:58 PM

Hey, it's been working like a charm. ;)

And if the style comes from vbskins.com, not ravio.com, and they included all of the PSDs with the style, then why should their logo be on my forum?

VeoMorphine 12-30-2002 07:03 PM

OK, 1 Quesion/Request

When you start releacing the non-betas
Will you include an update file for the current final to the next final
?

Bitsys 12-30-2002 07:03 PM

Quote:

Originally posted by SpyGuy007
EDIT AGAIN: I uploaded the previous itemshop.php file (from v.56) and it works, so something is wrong with the itemshop.php from v.57. Hope that helps narrow it down.
I will look at it. Thanks.

SpyGuy007 12-30-2002 07:05 PM

I'm sure this has been requested before, but could this be integrated with Lesane's store hack after the first final release? I know it's kinda big suggestion, but I'll help if needed. It looks like mostly changing database queries (i.e. changing ['storep'] to ['points']).

Webmasta XT 12-30-2002 08:54 PM

DELETED..

VeoMorphine 12-30-2002 08:55 PM

Quote:

Originally posted by Webmasta XT
Bitsys, another suggestion. I was battling a girl.. and when she attacked me, it said girlname used his Masamune. and she has her stats as female and everything, so if you could please make it so if the member picks a female character it says, her not his. Its kind of a stupid error, but its still a mistake.
Or they could all be...... Shemales......

Xyphen 12-30-2002 09:17 PM

Bitsys, another suggestion. I was battling a girl.. and when she attacked me, it said girlname used his Masamune. and she has her stats as female and everything, so if you could please make it so if the member picks a female character it says, her not his. Its kind of a stupid error, but its still a mistake.

Bitsys 12-30-2002 09:17 PM

SpyGuy007:
Yes, that has been requested numerous times. Right now, I have plans on providing integration instructions after I release it. Or, I might provide a separate set of .php files that you can simply upload in place of the other ones.

AViO 07:
Someone pointed that out the other day. I have gone through battleupdate.php and hopefully found every occurance of a gender specific word and replaced it with a variable that inserts the correct word. An updated battleupdate.php will be included in the next release.

Speaking of the next release, it will have a new feature. In the admin cp, you will be able to add different backgrounds for the battle arena. Then, when the user creates a battle, they can select which background they want.

SpyGuy007 12-30-2002 09:22 PM

Wow man, you're great. Can't wait for it!

/me sits quietly

Bitsys 12-30-2002 10:17 PM

SpyGuy007, I love your forums! Do you mind if I put your FAQ in the next release of the help file?

Also, I forgot to mention in my last post that the next version will include an uninstall script. You will be able to run the uninstall script and the install script interchangeably. I have been doing it all day - installing the hack, then uninstalling it, etc. I have done it about 10 times in a row and it works great! Hopefully I will be able to release it tomorrow, but it depends on how soon New Years Eve starts ;)

Kaelon 12-30-2002 10:22 PM

Great job, Bitsys!

Have you tested the install/uninstall script on non-standard (i.e., modified) vBulletins? I'm hoping to start testing this on an exact copy of my forums, which are heavily modded.

Thanks a bunch!

Regards,
Kaelon

SpyGuy007 12-31-2002 12:46 AM

Quote:

Originally posted by Bitsys
SpyGuy007, I love your forums! Do you mind if I put your FAQ in the next release of the help file?

Also, I forgot to mention in my last post that the next version will include an uninstall script. You will be able to run the uninstall script and the install script interchangeably. I have been doing it all day - installing the hack, then uninstalling it, etc. I have done it about 10 times in a row and it works great! Hopefully I will be able to release it tomorrow, but it depends on how soon New Years Eve starts ;)

Why, thank you, and of course, I don't mind!

Xyphen 12-31-2002 01:29 AM

Quote:

Originally posted by Bitsys
SpyGuy007:
Yes, that has been requested numerous times. Right now, I have plans on providing integration instructions after I release it. Or, I might provide a separate set of .php files that you can simply upload in place of the other ones.

AViO 07:
Someone pointed that out the other day. I have gone through battleupdate.php and hopefully found every occurance of a gender specific word and replaced it with a variable that inserts the correct word. An updated battleupdate.php will be included in the next release.


Speaking of the next release, it will have a new feature. In the admin cp, you will be able to add different backgrounds for the battle arena. Then, when the user creates a battle, they can select which background they want.

Hey, I was about to suggest the background thing next, lol, anwayzy, thats good you already thought of it. Also, I flipped all the character images, males and females. So now they are facing each other. If you want I can tell you what to do and give you all the images..

Xyphen 12-31-2002 02:50 AM

Bitsys, I found a bug, and I also have a suggestion..

Bug

The bug i found is, the Personal Itemshop doesn't work, you can't buy from a personal itemshop, you can't sell from a personal itemshop. nothing.. but you can create the person Itemshop.

Suggestion

Three suggestions, in the next realse, can you make this addon, that when 2 members are battling, On online.php it says, In Battle. Second suggestion is, if you can think about the Clan addon i told you about, where ppl can make there battle clans aproved by admins, and other members can join, there clan info is displayed on their user profile. Third suggestion, can you please make the fists work -_-, i asked this before, you could make it the lowest attack or whatever, just make it work, and sometimes it should miss also.

If you can take these suggestions under consideration, and make them I would be so GLAD, and let me know if you need help with anything. I am here, also sry about the double posting -_-.
Once again i would like to thank you Bitsys for making such an amazing hack the best hack so far.. at least for me..!!

Bitsys 12-31-2002 03:32 AM

Kaelon:
I have not tested the script on hacked an extremely hacked board. However, if the install script runs flawlessly, and you do not edit any of the RPG code that is inserted, then the uninstall will also work flawlessly. Either way, if it can't undo the changes to the .php files, then you can always re-upload the saved files, or do it manually. The database queries will always remove the appropriate tables from the database.

AViO 07:
Sure, I'd love to see what you did to flip the images!

AViO 07 (second post):
That bug was caused by a bug I fixed. In previous versions, you could "create" the buy item URL from scratch if you knew certain characteristics of the item you wanted to buy. To fix this, I had to add code to check and make sure you were eligible to buy the item. In the process, I forgot that personal items do not have the same rules as normal items, thus making them un-purchaseable. This problem will be fixed in the next version. Thanks for finding it!

I will fix online.php also, since it currently only has one of the files in the array.

Could you explain a little more about what you had in mind about the clans and how they relate to the battle/rpg hack?

Fists should be working in version 0.57. They should do 10 * your level in damage. Let me know if this is not the case, and I can run some more tests.

Xyphen 12-31-2002 05:45 PM

Ok, the fists don't work, I upgraded.. lol. I have another suggestion and i'll explain about the clan. Ok

CLan
Someone applys to open a clan, if hes accepted by the admins, he has his own clan. Now when people visit clans, they see all the clans that are created, if they want to join the clan. The click join. And the leader of the clan has some rules, like your level should be 10, or your hp must be 500+. Like that, if the person meets the requirements, he can join the clan. All the members in a clan, have some things, like. If one of the members win a battle, he gets this much amount of money automatically, and he gets whatever amount of money weekly or monthly. Also every clan can have a 50x50 icon which is displayed on members profile, and on the leaders profile it says Lead of the "Clan name".
and displays the CLan Icon. Also every clan has a little description which is displayed on every members profile.

Suggestion
Ok, the suggestion I have is, you should also add a little battle Text on the postbit, so if someone wants to battle someone, they click battle on their post, and it goes to the battle start page, with the username of the person they clicked on already entered.

Another Suggestion
ok, one last suggestion, every member should be allowed to set the amount of wager they would take, anything lower is acceptable, but nothing higher is acceptable. Ok, say I set $600 wager maximum, no more then that. THen anyone who challanges me, if he has $700, it will give an error, saying User Doesn't accept wager higher then $600. Isn't that a good idea?
but if the challenger puts wager anything lesser then $600, or even $600, the battle message has gone to the oppenent.

Xyphen 12-31-2002 05:48 PM

Also, bitsys, if you want to see how my image system works, all i did was open all the images of the classes, flip them, and edit template called
battle_arena, and put a 1 beside the whatever is on the left.
So its like this $opponent[classfolder]1.gif instead of $opponent[classfolder].gif
And I have all the flipped images saved as, name1.gif.
If you want the images, i'll upload them ^_^

PSI|Dr-X 12-31-2002 06:56 PM

And bytsis can you arrange that the battle stats in a fight does appear under the battle screen it would be easier i think


AVIO 07 :

i wanna have them if you agree with it :)

BYTSIS:thnx very much bytsiS FOR THE greatest hack in the century ^_^

Bitsys 12-31-2002 07:19 PM

Version 0.58 is done (see the first post for an updated .zip file). An upgrade file is included in the upgrade directory. Please follow the instructions EXACTLY. They are a little different this time.

Bugs:
  • Fixed bank money not showing in itemshop.
  • Reduced queries in battlefight.php down to 15 when it is not your turn (i.e. when anyone but the combatants views the battle, there are only 15 queries made.)
  • Adjusted several input boxes in the RPG Admin menus. The positions changed around and were made uniform.
  • Fixed inability to buy personal itemshop items.
  • Fixed gender-specific wording in battleupdate.php.
  • Some other typographical errors.

Features:
  • You can now add/delete/edit battle scenes in the admin cp. Users get to select which one they want when they create the battle. The same battle scene stays throughout the entire battle.
  • Fists now do damage.
  • The help Documentation has been updated again and will now be included in each version of the hack. It is located in the "extra" directory. This can be used in place of the readme file.



AViO 07:
The Clan idea sounds like it will take a while. Maybe after full release.

1st suggestion:
I think I can do that. I don't know if I will get around to it though, it has been on my list for a while.

2nd suggestion:
I like that idea. Once again though, I am not sure I will be able to implement it in time.

AViO 07 (second post):
I'd love to see the images!

PSI|Dr-X:
You want everyone's battle stats displayed in the battle arena?


All times are GMT. The time now is 08:07 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.02142 seconds
  • Memory Usage 1,841KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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