View Single Post
  #1577  
Old 05-12-2003, 07:28 PM
Bitsys's Avatar
Bitsys Bitsys is offline
 
Join Date: Oct 2002
Posts: 444
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
05-02-03 at 05:51 AM SM Tengu said this in Post #1541
I made a very small add-on that makes the hack even more RPG like.

If you fight a high level opponent it would make sense if you gained more experience than if you fight a low level opponent. So what this hack does is simply to multiply the experience-factor that you set for winning the battle with the opponents level.


Open battleupdate.php and find:
-------

if($battleopt[givewinexp] == 1 && $battleopt[expperwin] > 0) {
if($battle[winnerid] > 0)
$DB_site->query("UPDATE user SET xp=xp+$battleopt[expperwin] WHERE userid='$battle[winnerid]'");
}

-------


And replace with:
-------

if($battleopt[givewinexp] == 1 && $battleopt[expperwin] > 0) {
if($battle[winnerid] > 0)
$DB_site->query("UPDATE user SET xp=xp+($opponentlevel*$battleopt[expperwin] WHERE userid='$battle[winnerid]'");
}

-------

Very simple hack, but it can prevent some abuse of the fighting system. For example the so called Bottom-feeding.

Perhaps this could be included in the next update? Personally, I think it would make more sense than the current system =)



Bitsys, would it be possible to make different forums gain you a different amount of creds and exp? I've made a raw code hack now, but I have to alter it through the code instead of the admin panel.

For example, I want my users to gain more experience and credits for posting in a serious forum such as "Forum Suggestions". And less if they use "General Discussions".

Perhaps implent a multiplier in the Forum Moderation-system.
Nice add-on

As far as the forum-specific creds and exp goes, I thought about that a while ago but decided against it because I am very reluctant to add another 2 database fields to the `forum` table.

Overall, if such a feature were implemented then it would greatly improve the quality of posts, eh? I am tihnking about it.

Quote:
05-02-03 at 11:31 AM Sun Boy said this in Post #1542
Hi,

this's a nice hack

1. when i go to the itemshop and then click on bank nothing change, i am still in the itemshop
Are you using Lesane's Store Points for the monetary system? If so, then the bank will not work. Ooops, I see that flame answered your question. Nevermind

Quote:
05-02-03 at 11:31 AM Sun Boy said this in Post #1542
2. i don't want to fight a user, i want to add a battle room without a password and any user can come and fight me , can i do that ?

sorry 4 my bad english

thanks,
Sun Boy
Hmm, I don't think that is currently possible. That is an interesting idea though.

Quote:
05-03-03 at 02:54 AM Me! said this in Post #1544
Thank you for your response. I went into php my admin and checked and the rpg_ tables do exist and each one has data in it. Maybe I should try a fresh install again?

Yes, but this time make sure you either give write access to the folders where the backups are stored, or disable the backups altogether. That will make it easier to see if any other errors occured.

Quote:
05-04-03 at 10:22 AM Ryoku said this in Post #1547
dont mean to double post but can i install this hack manualy ?

You can, but it took me 3 hours when I did it the first time. After that, I went with vbhacker.

Quote:
05-04-03 at 06:56 PM GaleForce said this in Post #1550
Too many pages to check... Will there every be individual instructions for installing this hack if you already have one of the parts installed? (I have the Itemshop already)

Unfortunately, the database tables and php files for the itemshop hack have been changed drastically from the original version and providing instructions for upgrading would be error-prone and difficult.

Quote:
05-05-03 at 05:17 PM sonic3d said this in Post #1554
ur right. when i read the manual and it said "Should usually be kept within 1 and 10", didn't realize it said it SHOULD.

thanx for replying.

l8er
sonic

Wow, someone read the manual. I'm impressed

Quote:
05-05-03 at 05:30 PM Link14716 said this in Post #1555
I also had this problem. Here is how I fixed it.

In battleupdate.php...
Find:
PHP Code:
                                $posts $DB_site->query("SELECT * FROM battle_posts WHERE battlenumber='$battle[battlenumber]' ORDER BY battleactionid"); 
Replace With:
PHP Code:
                                $posts $DB_site->query("SELECT * FROM battle_posts WHERE battlenumber='$battle[battlenumber]' ORDER BY battleactionid ASC"); 
Thanks, will be fixed in the next version.

Quote:
05-05-03 at 11:55 PM Davey said this in Post #1558
Is there any reason the attack seems to stay at 10 no matter what you do?
I really am having trouble understanding that aspect of the battle system.
On another note, the 'level' is not shown in the battle screen.

Dave.

Like SM Tengu said, as lower levels it isn't very noticeable. However, there is a +- 25% damage difference built in.

Quote:
05-07-03 at 12:50 PM Sun Boy said this in Post #1567
Hello,

it's work good now

but i have some bugs

1. i have install this hack with Store hack, the post count if the user post the post number 1 for him it still on 0

2. same thing in the money, if user post a rplay number 1 for him the money conut say he have 2 Gil, re-download the page then it say he have 5 Gil and still on 0 post !!
Could you please elaborate on both issues? I am having trouble understanding where the post count / money count is located (which php file) and the specific aspects of the user in question. Are you saying this use has no posts or 1 post or what?

Quote:
05-07-03 at 04:26 PM Davey said this in Post #1569
Is it possible to let admins edit stats?
I'm talking about STR, MAG, etc., not HP.

Dave.

Those stats are calculated on the fly and are not stored in the database therefore it is impossible to change them and have the changes stay.

Quote:
05-10-03 at 11:01 AM v0id said this in Post #1570
When will the next version come out Bytsis?
Not sure

Quote:
Yesterday at 05:38 PM LangTuDaTinh said this in Post #1575
PROBLEM /W DONATION

please fix the script

in getinfo template

file $post[userid] , change it to $userinfo[userid]

Is that code from the Member Profile Add-on? If so, then it will be fixed in the next version. If not, then let me know.

Quote:
Yesterday at 06:10 PM LangTuDaTinh said this in Post #1576
how can i determine bluff number for each item?
Experiment with different values. All boards are different and it all depends on how much experience you give your users.
Quote:
Yesterday at 06:10 PM LangTuDaTinh said this in Post #1576
and how does it work?
Search this thread for "battle formula".

Quote:
Yesterday at 06:10 PM LangTuDaTinh said this in Post #1576
should i put a number only or a - (minus) or + (plus) sign before the bluff number??
Don't worry about the + or -, just put an integer value in the field.

Quote:
Yesterday at 06:10 PM LangTuDaTinh said this in Post #1576
what if i buy more than 3 items??? the first item will be lost and what will happen to my money?
You will get refunded the appropriate amount of money for the item that is replaced. To determine how much an item will give you if you sell it back, check the Refund column for taht particular item.

Quote:
Today at 02:14 PM engquist said this in Post #1579
well, I note that this support thread is 106 pages long so it must mean that many issues have been resolved/fixed.

I have a new board running VBulletin 2.3.0

Can someone tell me if this hack is fairly stable if I competently follow all the directions? (I'm not asking for a guarantee, just your opinions)

in other words, would anyone go as far as to classify this is almost "no longer beta"

do a lot of you run 2.3.0 and have it working completely fine?

It is fairly stable. Once any install issues are fixed, there are usually no other problems that occur. Right now, I am working on fixing bugs.

Quote:
Today at 02:31 PM Zalastri said this in Post #1580
Certain unscrupulous users on my forums are cheating.... wagering money they do not have and then getting some kickback... My forums went from 400+ posts a day to less than 20 because of all of the cheaters (Forums are based off of your hack, battling and roleplaying.). Please help

Although I may not have stated it before, it has always been my opinion that a hack can not be the basis for a forum. It is the people that form the community that will ultimately determine the fate of one's board. If you could provide some more details as to how these people were cheating then that would be great.


My absence from this thread can be partly attributed to my role as a Beta Tester for Star Wars Galaxies. Due to circumstances beyond my control, I am unable to play that game for an unnspecified amount of time. This means that I can spend more time working on the hack again.
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01264 seconds
  • Memory Usage 1,837KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php
  • (19)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete