AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved/Old Plugins (https://forums.alliedmods.net/forumdisplay.php?f=27)
-   -   RPG Mod (https://forums.alliedmods.net/showthread.php?t=54813)

mateo10 05-04-2007 16:38

RPG Mod
 
15 Attachment(s)
I NO LONGER SUPPORT THIS PLUGIN, PLEASE REFER TO

RPG Mod by Sylwester

OR

RPGx by roflmao456

Alka 05-04-2007 17:17

Re: RPG Mod
 
Nice...i saw the plugin in action and is *cool*! Gj :wink:

Emp` 05-04-2007 18:04

Re: RPG Mod
 
line 242:
Code:

server_exec();
???

line 342:
Code:

                        while(task_exists(player))
                                remove_task(player);

first of all no point in while loop. second, don't bother checking if it exists.

in various places:
Code:

if( function() )
        function2( function() );

better to do
Code:

new result = function();
if( result )
        function2( result );

Admin Commands:
I personally don't think the '+'/'-'/' ' method is very smart. I think there will be much confusion from people when they do rpg_givexp Emp` 500. Especially because that wouldn't even set their xp. You would have to do something like rpg_givexp Emp` dummy 500 to set xp.

line 1182:
Code:

new regenadd = gRegenLevel[id] * 1;
Why multiply by 1?

Saving Method:
Why save to multiple keys? Instead, combine them into a string and then get them from that string to reduce vault sizes.

Last of all, I don't see this being much different than Credits Mod. Explain what is different (other than skills).

B_V_G 05-04-2007 18:10

Re: RPG Mod
 
why call it RPG?
RPG is the rocket launcher weapon.

Howdy! 05-04-2007 18:14

Re: RPG Mod
 
Quote:

Originally Posted by Description
RPG Mod is a mod that simulates the role-playing gameplay.


serto99 05-05-2007 00:09

Re: RPG Mod
 
rofl dis is a copy of RPG on Counter Strike Source except it got 1 or 2 different skills and less skills

vvg125 05-05-2007 00:21

Re: RPG Mod
 
Quote:

Originally Posted by serto99 (Post 473545)
rofl dis is a copy of RPG on Counter Strike Source except it got 1 or 2 different skills and less skills

rofl it is also for HL1

wenlong_115 05-05-2007 01:32

Re: RPG Mod
 
so cool

mateo10 05-05-2007 05:35

Re: RPG Mod
 
Quote:

Originally Posted by Emp` (Post 473457)
line 242:
Code:

server_exec();
???

line 342:
Code:

                        while(task_exists(player))
                                remove_task(player);

first of all no point in while loop. second, don't bother checking if it exists.

in various places:
Code:

if( function() )
        function2( function() );

better to do
Code:

new result = function();
if( result )
        function2( result );

Admin Commands:
I personally don't think the '+'/'-'/' ' method is very smart. I think there will be much confusion from people when they do rpg_givexp Emp` 500. Especially because that wouldn't even set their xp. You would have to do something like rpg_givexp Emp` dummy 500 to set xp.

line 1182:
Code:

new regenadd = gRegenLevel[id] * 1;
Why multiply by 1?

Saving Method:
Why save to multiple keys? Instead, combine them into a string and then get them from that string to reduce vault sizes.

Last of all, I don't see this being much different than Credits Mod. Explain what is different (other than skills).

1. Fixed
2. Fixed
3. Going to fix
4. Changed the <+/-> to <give/remove/set>
5. It's because when you have regen level 1 you get 1 hp per second (gRegenLevel[id] * 1), when you have regen level 2 you get 2 hp per second (gRegenLevel[id] * 1). You understand?
6. Can you tell me how to save all in 1 string? With parse? EDIT: Fixed.
7. Credits mod gives you credits based on how long you've played on the server. This gives you credits based on your skill. This plugin has an xp/level system. In this plugin you're able to sell your upgrades.

godlike 05-05-2007 06:43

Re: RPG Mod
 
Looks very nice gj again MaTTe but 1 question doh could you plz explain all skills to me?
also say that we need the engine and fun module for this mod.

fattony 05-06-2007 13:30

Re: RPG Mod
 
gj matte =D

fattony 05-06-2007 13:36

Re: RPG Mod
 
godlike its simple

regeneration: heals your hp each second

Health Bonus: gives you more hp

resupply: gives u ammo each second

vampire: take some damage that you dealt and brings it back to your hp

stealth: it makes you less visible

long jump: makes you jump farther

ice stab: stab your enemy and make him freeze

frost pistol: shoot your enemy and make his speed cut in to half

denial: once you die, you get your weapons back

impulse: when you get hit, you'll go faster

medic: heal your teamates near you ( if they have full hp, it heals their armor)

and thats about it

godlike 05-09-2007 14:34

Re: RPG Mod
 
ty . Can you also add screenshots?

mateo10 05-10-2007 14:02

Re: RPG Mod
 
Can someone take screenshots for me? Because my CS is broken :/

fattony 05-11-2007 15:48

Re: RPG Mod
 
ill try to take some when i have time

mateo10 05-11-2007 15:57

Re: RPG Mod
 
Thank you very much fattony!

mrpanda 05-12-2007 22:06

Re: RPG Mod
 
i will test it out and see how it runs =D

}{ERO 05-14-2007 15:11

Re: RPG Mod
 
hello, i just put this on the server and i have a couple of questions
1. Whats the difference between giving an xp, level, and credit,
and
2. is this not an amx command? like amx_rpgmenu or there's no way you can search it up in amx_help
3. and also, when i type rpg_givexp "}{ERO" "give" "300" - it says "Invalid player" player }{ERO has immunity, so does this mean i can never give my self xp?
please reply

btw: cool plugin:)

godlike 05-14-2007 15:15

Re: RPG Mod
 
with the immunity is your flag in users.ini change the a flag. and you can give yourself xp

YamiKaitou 05-14-2007 15:48

Re: RPG Mod
 
Quote:

Originally Posted by }{ERO (Post 476614)
hello, i just put this on the server and i have a couple of questions
1. Whats the difference between giving an xp, level, and credit,
and
2. is this not an amx command? like amx_rpgmenu or there's no way you can search it up in amx_help
3. and also, when i type rpg_givexp "}{ERO" "give" "300" - it says "Invalid player" player }{ERO has immunity, so does this mean i can never give my self xp?
please reply

btw: cool plugin:)

Quote:

Originally Posted by godlike (Post 476615)
with the immunity is your flag in users.ini change the a flag. and you can give yourself xp

Looks like a neat plugin. Might give it a try soon

}{ERO 05-14-2007 15:53

Re: RPG Mod
 
yes, i realize that, and i know what immunity is but i wanted to know can i give my self xp points w/ immunity? like can i change something in the script?

YamiKaitou 05-14-2007 16:01

Re: RPG Mod
 
Yes, in the 3 functions that start with concmdGive, find the "new target = cmd_target(id, arg);" line and change it to this "new target = cmd_target(id, arg,2);"

godlike 05-14-2007 16:11

Re: RPG Mod
 
Just ask Matte for a new update and he will fix your problem and add some new features you suggested.

edeloa 05-15-2007 21:40

Re: RPG Mod
 
Matte, great job. Just a few things to comment on...

1) the rpg_give command (for xp/level/points) gives when you mean to remove, and removes when you mean to give. For example: rpgmod_givexp Mex give 500 will actually remove 500xp. At least this is what happened on my server.

2) Sometimes the HUD doesn't show when the round starts. I found myself having to rpgmod_givesomething to myself in order for it to show up.

3) Sometimes, the points shown on the HUD aren't in sync with those on the rpgmenu. The only times I observed this was when giving myself xp/points/level. My guess is that it would happen even without being given points.

Small details/issues/comments below:

4) When 'help' is shown, the lines are numbered like in a menu. It's not a big deal, but it could be improved by showing the text itself. (I can't recall how to do this but check out the mod that requires a player to accept terms and conditions -- they have code you can use).

5) It would be great if players could see exactly what each upgrade does (and each level of the upgrade).

6) It would also be great if you could add a method to list each player's upgrades/level/etc.

7) Some people are saying they can't give xp/points/levels to those with the immunity flag. I have the immunity flag (flag 'A') and could give myself points.

}{ERO 05-15-2007 22:14

Re: RPG Mod
 
yes, edloa is correct about the mix/match on rpg_givexp- ( really takes away xp); instead i just type rpg_givexp "}{ERO" "set" "amount" and that works well. but i have a question,
Do you think this plugin works well with DeathMatch?

mateo10 05-26-2007 14:13

Re: RPG Mod
 
Thanks for the approval Hawk.
I'm currently working on what you said edeloa.

Sidewinder 05-26-2007 21:13

Re: RPG Mod
 
anyone have a server for this yet?

mateo10 05-29-2007 03:27

Re: RPG Mod
 
Added a test server. Look for the ip in the main thread.

P4rD0nM3 05-30-2007 07:30

Re: RPG Mod
 
Interesting mod, do you have a semi-official test server so I can come and play for a few days?

mateo10 05-30-2007 09:27

Re: RPG Mod
 
Unfortunately not, but I beg everyone of you. If you have this mod on your server, please say it so I can add it to the main thread, and people can test it.

sytremelaker 05-30-2007 15:46

Re: RPG Mod
 
Just a question, for the extra HP and the Speed, if I run another plugin that give extra HP and speed to start with, will this plugin stck on top of that or will it reset it?

I may use this mod on my server but it will accompanied gy another mod.

mateo10 05-31-2007 02:56

Re: RPG Mod
 
I think both plugins will add HP and speed to the player.

n3tm4n 05-31-2007 12:26

Re: RPG Mod
 
When I choose Resupply, CS:CZ crashes...

mateo10 05-31-2007 15:43

Re: RPG Mod
 
That is strange... I've tested in on CS 1.6 and it worked perfectly. Do you have any error messages?

Psyfire 05-31-2007 16:05

Re: RPG Mod
 
I didnt found any save function. The levels and so on are not saved? If you add sql save support I will add a server with this mod.

YamiKaitou 06-01-2007 01:33

Re: RPG Mod
 
Quote:

Originally Posted by Psyfire (Post 484200)
I didnt found any save function. The levels and so on are not saved? If you add sql save support I will add a server with this mod.

It saves it using nVault. So, it saves it to a binary file.

n3tm4n 06-02-2007 06:28

Re: RPG Mod
 
It's ok now. I've reinstalled CS:CZ.
Can you add Attack improve to upgrades?

n3tm4n 06-02-2007 06:38

Re: RPG Mod
 
It's ok now. I've reinstalled CS:CZ.
Can you add Attack improve to upgrades?

Psyfire 06-02-2007 06:51

Re: RPG Mod
 
Quote:

Originally Posted by YamiKaitou (Post 484336)
It saves it using nVault. So, it saves it to a binary file.

I dont like nvault. Any chance it will have mysql save support? :-)

mateo10 06-07-2007 02:55

Re: RPG Mod
 
I don't think so, because I don't have any experience in SQL.


All times are GMT -4. The time now is 08:23.

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