This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

New XP Mod tutorial


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
linkosc
Senior Member
Join Date: Apr 2007
Location: Everywhere
Old 02-05-2008 , 16:48   Re: New XP Mod tutorial
Reply With Quote #1

Is this for SQL or can It be used with a text file to save xp? Im working on a mod with these features but I dont know anything about SQL Databases. Thanks
LINKosc
linkosc is offline
Send a message via AIM to linkosc
TheNewt
Donor
Join Date: Jun 2006
Location: Where I live.
Old 02-13-2008 , 15:19   Re: New XP Mod tutorial
Reply With Quote #2

This isn't for sql, for sql view some of the sql tutorials, documentation, or plugin examples. I wrote an example last year using the older version of sql access, Hawk wrote information on how to use the newer SQL data access.

SQL Information, Code Examples, and Tutorials By:
BAILOPAN
Hawk552
TheNewt

I recommend learning SQLx from Hawk's thread there. Mine's is the older version, and BAIL's there is an update to the API, not really a tutorial.
__________________
Quote:
toe3_ left the chat room. (G-lined (AUTO Excessive connections from a single host.))

Last edited by TheNewt; 02-13-2008 at 15:23.
TheNewt is offline
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 02-15-2008 , 23:52   Re: New XP Mod tutorial
Reply With Quote #3

my god... please someone just fix this tutorial !

There is NO "attacker" variable in the death func, and some other problems that occured upon compile...

Please fix both the long and comented sections and the uncommented full code...
__________________

Last edited by Hunter-Digital; 02-15-2008 at 23:54.
Hunter-Digital is offline
Old 02-16-2008, 06:08
fxfighter
This message has been deleted by fxfighter. Reason: gfaw
jasonf20
Junior Member
Join Date: Mar 2008
Old 03-15-2008 , 14:00   Re: New XP Mod tutorial
Reply With Quote #5

u forgot the attacker verible man use read_data (1)
and u used an id which is undeffined aswell

Last edited by jasonf20; 03-15-2008 at 14:13.
jasonf20 is offline
fxfighter
Veteran Member
Join Date: Feb 2007
Location: Trollhättan
Old 03-15-2008 , 15:53   Re: New XP Mod tutorial
Reply With Quote #6

i did use read_Data(1) read the code
Quote:
new headshot,attacker = read_data( 1 )
__________________
If one of my plugins become broken, contact me by mail. [email protected]
fxfighter is offline
Send a message via MSN to fxfighter
jasonf20
Junior Member
Join Date: Mar 2008
Old 03-15-2008 , 16:05   Re: New XP Mod tutorial
Reply With Quote #7

Quote:
Originally Posted by fxfighter View Post
i did use read_Data(1) read the code
not u in the final code thats in the main message in eDeath its missing the attacker variable
jasonf20 is offline
fxfighter
Veteran Member
Join Date: Feb 2007
Location: Trollhättan
Old 03-15-2008 , 16:09   Re: New XP Mod tutorial
Reply With Quote #8

Y thats why i fixed it.
__________________
If one of my plugins become broken, contact me by mail. [email protected]
fxfighter is offline
Send a message via MSN to fxfighter
Checkmarks
BANNED
Join Date: Sep 2007
Location: kentucky
Old 03-15-2008 , 18:38   Re: New XP Mod tutorial
Reply With Quote #9

Always wanted to make exp mod but never really knew how. Last tutorial didn't work. Thanks for making this.
I'd give you lots of respect and a +karma if you could add something though. This is nice and all, but it's pointless leveling up. Could you show everyone how to give people rewards at the certain levels? That way people actually WANT to level up and come back to the server
Checkmarks is offline
Rolnaaba
Veteran Member
Join Date: May 2006
Old 03-16-2008 , 15:20   Re: New XP Mod tutorial
Reply With Quote #10

simple, say you want to give them more damage on level 3 on damage event, check their level then if high enough level just add some damage.
__________________
DO NOT PM me about avp mod.
Rolnaaba is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 13:14.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode