• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5


SCXPM Source Code + Server & Map Configurations Release
#1
Brick 
https://bitbucket.org/modriot/scxpm


Update for version 17.31.35

Changelog can be found in the repository, although it is currently incomplete.

Report bugs or work some of the code out yourself, and learn how this mod really works Big Grin
Reply

#2
In my version i disabled SCXPM on bm_sts and familiar maps because with that it was unplayable and caused that lvl 1000+ always won mini games or similiar games and were in huge advantage above small levels i will try this version.
Reply
#3
Yeah, bm_sts does not seem like the best map for Experience Mod. I can see only two or three skills being very useful on that map, and that is the team power, ammo reincarnation, and block attack skills. Maybe we will only enable Team Power, Ammo Reincarnation, and Block Attack for those maps. This version of SCXPM actually needs to have some more work done on it, but it might be a while before that is accomplished.
Reply
#4
Gah, did we fix the free m16 glitch?
     MEME AI OF THE FUTURE
[Image: lAbPm6b.jpg]



Reply
#5
Yeah Mr. Robot.I believe the m16 glitch no longer exists. https://bitbucket.org/modriot/scxpm/src/...ill.inl-63 Giving the player AR Grenades with scxpm_randomammo here spawned an m16. The only problem we have found was with the m16. It may have just been a conflict of map configuration with bm_sts, but it was removed anyway. I guess we could just disable the ammo regeneration skill on that map, since I configured the code so it can do that. Big Grin

This is the original code that caused the glitch to happen:
Code:
    if(number==4)
    {
        get_user_ammo(i,6,clip,ammo)
        if(ammo<50)
        {
            give_item(i,"ammo_crossbow")
            give_item(i,"ammo_crossbow")
            give_item(i,"ammo_ARgrenades") // gives player m16 on maps like bm_sts
            give_item(i,"ammo_ARgrenades") // gives player m16 on maps ike bm_sts
        }
        else
        {
            number=5
        }
    }
Reply
#6
Because when you grabbed M16 grenades it caused that you got automatic m16 on some maps however it is disabled.
Reply
#7
Apparently that M-16 and AR Grenade issue is related to the map system of Sven Co-op itself, and depending on what version of the map is used will determine how the M-16 and AR Grenades behave.
http://forums.svencoop.com/showthread.ph...sion2-quot


Here is an updated version of the source code I just uploaded: https://bitbucket.org/modriot/scxpm/comm...6e70e882bc

I reformatted a few things and redesigned the system of a couple other things. This is version 17.31.35, and the last version I uploaded to this site was 17.31.28. So, there are quite a few changes. I will try to document them as best I can when I find the time.
Reply
#8
August 22, 2016

List of Added Cvars as of today:

// enables or disables "Strength" skill. 1 to enable, 0 to disable
scxpm_health 1

// enables or disables "Superior Armor" skill. 1 to enable, 0 to disable
scxpm_armor 1

// enables or disables "Health Regeneration" skill. 1 to enable, 0 to disable
scxpm_hpregen 1

// enables or disables "Nano Armor" skill. 1 to enable, 0 to disable
scxpm_nano 1

// enables or disables "Ammo Reincarnation" skill. 1 to enable, 0 to disable
scxpm_ammo 1

// enables or disables "Anti-Gravity Device" skill. 1 to enable, 0 to disable
scxpm_gravity 1

// enables or disables "Team Power" skill. 1 to enable, 0 to disable
scxpm_teampower 1

// enables or disables "Block Attack" skill. 1 to enable, 0 to disable
scxpm_block 1

// sets the amount of frags/points needed to be awarded a medal or bonus xp
scxpm_fraglimit 100

// the amount of experience to multiply by the player's rank to determine the amount of bonus xp
scxpm_bonus 100

// the cost value for trading a medal for experience points, or experience points for medals (the "cost" multiplied by the rank of a player)
scxpm_tradevalue 100

// The amount of times the regeneration loop counts through a player's experience points before saving (stops low-level players from flooding the database when leveling up) - also counts how many times in between reaching the limit of scxpm_counter a player needs to reload their data if at a low level (I recommend not changing this, change at your own risk)
scxpm_counter 4

// Save control feature added to turn on or turn off the scxpm_counter factor in frequency of saving. Setting to 1 will turn save control on, 0 will turn it off. (I recommend not changing this, change at your own risk)
scxpm_savectrl 1

// Turn speed control on or off. To enable, set to 1, or to disable set to 0. Two uses - 1. The damage event will slow down the player when they are hurt, and their speed will be reduced with (maxspeed-scxpm_speedamt). The cvar below controls how much speed is subtracted from a player. 2. If an admin uses the speed control command on a player to "punish" them, the player will be slowed down by the same amount.
scxpm_speedctrl 0

// The amount of "speed" to subtract from a player's maxspeed if scxpm_speedctrl is set to "1" and the player is punished or being damaged
scxpm_speedamt 100

// The amount of times per map that a player may reach the "bonus" frags amount to win a medal or bonus xp. Default is 1 bonus per map.
scxpm_bonuslimit 1

// The amount of times per map that a player may trade a medal for experience points or trade experience points for a medal. Default is 1 trade per map.
scxpm_tradelimit 1

// The number of times a player can "prestige" after reaching the maximum level, which is 1800 on our servers. The prestige feature of this mod is not complete yet and ideas are still being worked out. Once you have the ability to "prestige" at level 1800 (scxpm_maxlevel 1800), your level will be set back to 0 and all your skills removed, but you will have the stats of prestige saved so you can acquire different types of bonuses or features.
scxpm_maxprestige 10

// Setting to give players free levels. Set to 1 to give players free levels, set to 0 to disable this feature.
scxpm_givefree 1

// The level to set players to if they are below this settinng's number and the free level setting is enabled. Default is 100 levels.
scxpm_freelevels 100

// The maximum amount of health total that a player can have in a map. Setting this to 0 disables this feature, and the maximum amount is 645. Setting this to anything other than 0 will set the max health of players to this number. Example: scxpm_maxhealth "100" will only allow for players to regeenrate health up to 100, even if their Strength skill is higher.
scxpm_maxhealth 0

// The maximum amount of armor total that a player can have in a map. Setting this to 0 disables this feature, and the maximum amount is 645. Setting this to anything other than 0 will set the max armor of all players to this number. Example: scxpm_maxhealth "100" will only allow for players to regeenrate armor up to 100, even if their Superior Armor skill is higher.
scxpm_maxarmor 0

// This setting can be enabled to allow for players to respawn with full health and armor from their skills. Set to 1 to enable, 0 to disable.
scxpm_spawn 0
Reply
#9
Hi,im a newbie on SC server management, i know the original scxpm was ridden with bug on newer version of SC, so i want to using your scxpm, but i have encounter few problems, some maybe too simple for veteran manager, so feel free to criticize me for ignorance or dumb
1. i tryed to compile the plugin under Linux with SC's build in compiler, but i only got scxpm_modriot_full.ammx with no scxpm_modriot.ammx. is it right?
2. i think database was mandatory on this version, but theres no SQL file, how im i supposed to set up the database?
3. Does this version also require amxmodx using mysql rather than plain text?
thanks
Reply
#10
(03-14-2017, 01:01 PM)Frisa Wrote: Hi,im a newbie on SC server management, i know the original scxpm was ridden with bug on newer version of SC, so i want to using your scxpm, but i have encounter few problems, some maybe too simple for veteran manager, so feel free to criticize me for ignorance or dumb
1. i tryed to compile the plugin under Linux with  SC's build in compiler, but i only got scxpm_modriot_full.ammx with no scxpm_modriot.ammx. is it right?
2. i think database was mandatory on this version, but theres no SQL file, how im i supposed to set up the database?
3. Does this version also require amxmodx using mysql rather than plain text?
thanks

I am sorry, for some reason I did not even notice this reply from months ago. I can no longer support the code available on the older version of BitBucket which is the work that I did in previous versions. I have a newer version if you are interested in trying to use it. I will update the repository eventually.

1. The scxpm_modriot_full.sma file is just the entire code in 1 file. The scxpm_modriot.sma file includes the .inl files from "include/xpmod".

2. No using a database isn't mandatory, but the code I wrote was specifically designed to work with MySQL. The File saving system does not work properly for some reason and I haven't figure out why. I think it is a bug with the NVault module.

3. This version does not require using mysql rather than plain text, but won't save properly with the code that currently exists. Until the code is fixed or there is another method of saving, there is no way to properly save without the AMXX mysql module.

If you are interested, I can provide you with a copy of the SCXPM version I am using now, which I haven't finished. I mostly wanted to provide the version I made on the bitbucket repository before I changed the code so much that I can't maintain it. I have now changed the code so much in the new version I have made, and still have not completed the new version I have been working on yet.
Reply

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  




Users browsing this thread:
1 Guest(s)

   
ABOUT US
ModRiotGaming is a multi modification based gaming community offering servers of all sorts customized by community input. We dedicated ourselves towards providing a drama/stress-free gaming experierce for all fellow gamers while hosting the classic half-life 1 based mods we all grew up on worldwide.