Search found 28 matches

by NightHawk
Thu Jul 24, 2003 12:11 pm
Forum: [2.0.x] MODs in Development
Topic: [BETA] HP/MP/EXP Mod
Replies: 437
Views: 71343

mr_swinson, read up in this thread, I've posted the link several times. leon2ky, are you running level_mod.php directly? If so, that's not how it's intended to be run. Just follow the directions and it should work. Otherwise, have you made any modifications to the board such as phpnuke? that seems t...
by NightHawk
Thu Jul 10, 2003 5:03 am
Forum: [2.0.x] MODs in Development
Topic: [BETA] HP/MP/EXP Mod
Replies: 437
Views: 71343

espeon, regarding the Hackig Attempt problem, here's an explanation of why it would happen.. The hacking attempt message should only be caused in two cases.. One is if the constant "IN_PHPBB" is not defined as TRUE. Which it is done at the top of viewtopic.php and profile.php Presumably yo...
by NightHawk
Tue Jul 08, 2003 1:02 am
Forum: [2.0.x] MODs in Development
Topic: [BETA] HP/MP/EXP Mod
Replies: 437
Views: 71343

Sorry about the delay, work's been hell lately.. First off.. once more.. if you're having problems with the HP and MP levels, then first try adjusting the values $leveL_average_charpost_ratio and $level_mp_post_cost. There are also a couple other variables you can edit (read level_mod.php for more i...
by NightHawk
Sun Jun 29, 2003 4:24 am
Forum: [2.0.x] MODs in Development
Topic: [BETA] HP/MP/EXP Mod
Replies: 437
Views: 71343

dani.k, do you mean that Mods and Admin have their HP and MP measured the same way as the users, and do not gain anything special? That's the way it's written right now. I've updated this slightly, I consolidated the sql statements from two queries into a single query. A minor efficiancy boost proba...
by NightHawk
Tue Jun 24, 2003 11:29 pm
Forum: [2.0.x] MODs in Development
Topic: [BETA] HP/MP/EXP Mod
Replies: 437
Views: 71343

In your level_mod_install.txt, it didn't say anything about doing changes in profile.php. :evil: So, what in profile.php should I add? And where? Nothing, and nowhere. :) When Viewing a profile, profile.php includes the file usercp_viewprofile.php (which is in the includes directory). This mod adds...
by NightHawk
Tue Jun 24, 2003 12:35 am
Forum: [2.0.x] MODs in Development
Topic: [BETA] HP/MP/EXP Mod
Replies: 437
Views: 71343

Could this be possible? To have it when you search for a specific user in the admin panel you could change their HP/MP/XP? Nope. This mod calculates all these figures dynamically, so nothing is stored in the database. All I get is "Hacking attempt" when I try to read something... That sho...
by NightHawk
Sat Jun 21, 2003 10:40 pm
Forum: [2.0.x] MODs in Development
Topic: [BETA] HP/MP/EXP Mod
Replies: 437
Views: 71343

Alright, It has to be the sql statements. I'll look into that.

[edit] you heal mp by waiting. It recovers over time. You heal hp by posting larger posts. You also gain more hp and mp each time you level up. [/edit]
by NightHawk
Sat Jun 21, 2003 12:01 pm
Forum: [2.0.x] MODs in Development
Topic: [BETA] HP/MP/EXP Mod
Replies: 437
Views: 71343

It doesn't change anything :? I still simply have the XX/XX stats :? Just a question, the level_mod.php should be uploaded to the root folder right ? Because that part confuses me in the installation file :oops: Oy. I made a mistake, oops. Where I said "before" I meant "After" S...
by NightHawk
Sat Jun 21, 2003 12:02 am
Forum: [2.0.x] MODs in Development
Topic: [BETA] HP/MP/EXP Mod
Replies: 437
Views: 71343

No, deny's fix wouldn't do anything. Mostly because I already made that fix with my version. Honestly, I can't figure out why It won't work for you. Do you have any mods installed that have changed you're database at all? Well, there's a couple more things I can try to figure out what's wrong, but I...
by NightHawk
Mon Jun 16, 2003 7:44 pm
Forum: [2.0.x] MOD Writers Discussion
Topic: SQL Statement help
Replies: 0
Views: 378

SQL Statement help

Alright, I'm sufficiantly stumpted. In my mod (hp/mp/exp mod), I'm using SQL statments to retrieve post data from the database. This works fine for me, in my forums, but other people have been having problems. I'm reasonably sure the problem is the sql statements not working right (i honestly couldn...
by NightHawk
Mon Jun 16, 2003 7:33 pm
Forum: [2.0.x] MODs in Development
Topic: [BETA] HP/MP/EXP Mod
Replies: 437
Views: 71343

Ok.. so.. its not a database issue. I was -so- hoping. :| Well, I updated the mod. I changed the sql statement to be explicit as to which tables/fields to refer to. It worked fine before and after the change on my boards, so I'm not confident about this working. But it's worth a shot. As far as I ca...
by NightHawk
Mon Jun 16, 2003 6:47 pm
Forum: [2.0.x] MODs in Development
Topic: [BETA] HP/MP/EXP Mod
Replies: 437
Views: 71343

Well, I just thought of something that may be causing the problem. Both the calculations for current HP and MP use sql statements to retrieve information from the database. I wrote the sql statements with mySql in mind, and it didn't occur to me that they might not work in other databases. Out of cu...
by NightHawk
Mon Jun 16, 2003 1:08 am
Forum: [2.0.x] MOD Requests
Topic: New posting type
Replies: 5
Views: 354

http://www.php.net/manual/en/

The PHP manual, a very good resource.
by NightHawk
Sun Jun 15, 2003 10:32 pm
Forum: [2.0.x] MODs in Development
Topic: [BETA] HP/MP/EXP Mod
Replies: 437
Views: 71343

Alright, as for the exp problem. That was a minor typo on my part, it should correctly show exp now. And just for reference, the "correct" way is: Exp Learned on this Level / Exp Required for the Next level Total exp is your post count, that should be displayed normally. If you have 8/8 ex...

Go to advanced search