Raised This Month: $51 Target: $400
 12% 

Solved Need help setting up SM:RPG


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Aesthetic
Junior Member
Join Date: Mar 2021
Old 03-30-2021 , 08:43   Need help setting up SM:RPG
Reply With Quote #1

Hey folks,

I'm probably failing at compiling all the files in order to set up SMRPG for my CSGO server. I just can't get it working. I've set up my CSS server 10 years ago and obvsly haven't been as dumb with 16 year old as I'm now.

Alright, so I've downloaded SMRPG from here: https://github.com/peace-maker/smrpg
I've followed the steps till it says I need to compile the files.

I didn't have to "compile" files back then in CSS, it was a plug & play. I downloaded the RPG, put the files on the server and went going.

Firstly I don't understand the meaning in compiling, but however I don't have to I guess, I'm also failing at doing it. I've tried to compile them via the sourcemod web compiler as stated here: https://wiki.alliedmods.net/Compiling_SourceMod_Plugins

But I'm only getting "error compiling" messages when I start.

Anyone here to help?

Thanks a lot. I've been fighting with RPG for 2 days now.

Last edited by Aesthetic; 03-31-2021 at 14:04.
Aesthetic is offline
sneaK
SourceMod Moderator
Join Date: Feb 2015
Location: USA
Old 03-30-2021 , 09:03   Re: Need help setting up SM:RPG
Reply With Quote #2

This is not a plugin release, please be aware of where you are posting and the gigantic red banner up top that appears when you post in the Plugins section.

Moved to a more appropriate section.
__________________
sneaK is offline
Aesthetic
Junior Member
Join Date: Mar 2021
Old 03-30-2021 , 09:07   Re: Need help setting up SM:RPG
Reply With Quote #3

Quote:
Originally Posted by sneaK View Post
This is not a plugin release, please be aware of where you are posting and the gigantic red banner up top that appears when you post in the Plugins section.

Moved to a more appropriate section.
Apologizes, thanks for moving to the right section.
Aesthetic is offline
TomL.
Veteran Member
Join Date: Oct 2017
Location: Germany
Old 03-30-2021 , 09:25   Re: Need help setting up SM:RPG
Reply With Quote #4

It clearly says on the wikipedia page "The simplest way to compile a plugin that doesn't rely on any custom include files is using the web compiler."
The plugin you are trying to compile does rely on custom include files.
So read the whole page and follow along.
You can find the list of all required custom include files on the github page of smrpg.
In case you are not able to follow along here are the compiled files.
Read the installation note on how to install smrpg.
Attached Files
File Type: zip smrpg (all plugins).zip (321.3 KB, 132 views)

Last edited by TomL.; 03-30-2021 at 09:30.
TomL. is offline
Aesthetic
Junior Member
Join Date: Mar 2021
Old 03-30-2021 , 10:11   Re: Need help setting up SM:RPG
Reply With Quote #5

Quote:
Originally Posted by TomL. View Post
It clearly says on the wikipedia page "The simplest way to compile a plugin that doesn't rely on any custom include files is using the web compiler."
The plugin you are trying to compile does rely on custom include files.
So read the whole page and follow along.
You can find the list of all required custom include files on the github page of smrpg.
In case you are not able to follow along here are the compiled files.
Read the installation note on how to install smrpg.
Thanks for the response TomL.

I've read the installation note of course and feel dumb enough not getting it done by that already, please go easy on me

So the installation note says: "Download the latest pre-compiled build. (= done with the files you provided?)
Upload the plugins as well as the configs, gamedata and translations folders to your gameserver.
Only upload the plugins/upgrades you want to use. See below for an explanation of each plugin's purpose.
"

Where exactly do I drop the plugins and other files to the server now? My guess is csgo/addons/sourcemod - but do they find their right path on their own if I just drop them onto csgo for ex.?

Thanks for your patience, much appreciated.
Aesthetic is offline
TomL.
Veteran Member
Join Date: Oct 2017
Location: Germany
Old 03-30-2021 , 11:15   Re: Need help setting up SM:RPG
Reply With Quote #6

Usually the authors of a plugin provide the correct folder structure already but here is a very simple explanation of the folder structure.

Code:
csgo //main mod directory of the game css & 1.6 = cstrike, csgo = csgo, team fortress 1&2 = tf etc.
-addons //main addon directory, meta and sourcemod go in here
--metamod //metamod relevant files
--sourcemod //sourcemod relevant files
---configs //sourcemod and plugin config files
---data //client preferences and some other plugin data is stored in here
---extensions //sourcemod extension files go in here (linux files ending with ext.so and for windows ext.dll)
---gamedata //game data files (.games.txt) go in here
---logs //sourcemod log file very helpful if a plugin doesn't work
---plugins //the actual sourcemod plugin files (.smx) go in here
---scripting //sourcemod source code files of plugins are stored in here (these files are only needed for compiling a plugin and don't have to be upload to the game server for the plugin to work)
---translations //sourcemod translation files (.phrases.txt) go in here
-cfg //most config files are located in here
--sourcemod //anohter location of sourcemod and plugin config files
Basically all you have to do is matching the folders.
If your plugin source doesn't already provide you the right folder structure you can use the explanation above to figure out where to move the files.

Code:
folders

configs > csgo/addons/sourcemod/configs
gamedata > csgo/addons/sourcemod/gamedata
translations > csgo/addons/sourcemod/translations

single plugin file

X.smx > csgo/addons/sourcemod/plugins

Last edited by TomL.; 03-30-2021 at 11:16.
TomL. is offline
Aesthetic
Junior Member
Join Date: Mar 2021
Old 03-30-2021 , 15:56   Re: Need help setting up SM:RPG
Reply With Quote #7

^Great explanation. That helped alot, thanks TomL.

I seem to have it working now ingame, atleast partly. When I type the rpgmenu, it opens up the menu for "stats, commands and settings". But RPG upgrades are missing. I guess that is because the compiled files you provided (marked red on the ss) did not have the compiled files from the "upgrades" folder etc. when you download the SMRPG from the github link. Is that correct? So in that case I just need to manage to have all the other files from the folders in scripting compiled from .sp to .smx

I'm rather asking in advance before I experience another chain of server crashes.





Sourcemod error log:

Code:
L 03/30/2021 - 22:19:08: SourceMod error session started
L 03/30/2021 - 22:19:08: Info (map "scoutz_fws_d2") (file "/mnt/csgo/csgo/addons/sourcemod/logs/errors_20210330.log")
L 03/30/2021 - 22:19:08: [SM] Unable to load plugin "smrpg_chattags.smx": Could not find required plugin "chat-processor"
L 03/30/2021 - 22:19:08: [SM] Unable to load plugin "smrpg_noxpzones.smx": Could not find required plugin "mapzonelib"
L 03/30/2021 - 22:19:41: Error log file session closed.

Last edited by Aesthetic; 03-30-2021 at 16:21.
Aesthetic is offline
TomL.
Veteran Member
Join Date: Oct 2017
Location: Germany
Old 03-31-2021 , 03:08   Re: Need help setting up SM:RPG
Reply With Quote #8

The optional features of smrpg (e.g. smrpg_chattags & smrpg_noxpzones) require additional plugins.
For smrpg_chattags to work you need a chat processor (e.g. Chat-Processor) and smrpg_noxpzones requires to have mapzonelib installed.
Attached Files
File Type: zip Chat-Processor and mapzonelib.zip (99.8 KB, 84 views)

Last edited by TomL.; 03-31-2021 at 03:09.
TomL. is offline
Aesthetic
Junior Member
Join Date: Mar 2021
Old 03-31-2021 , 05:09   Re: Need help setting up SM:RPG
Reply With Quote #9

Quote:
Originally Posted by TomL. View Post
The optional features of smrpg (e.g. smrpg_chattags & smrpg_noxpzones) require additional plugins.
For smrpg_chattags to work you need a chat processor (e.g. Chat-Processor) and smrpg_noxpzones requires to have mapzonelib installed.
Alright, thanks for the files, implented those.

Upgrades ingame still not available - no errors - any idea?


Current RPGmenu ingame:



So SMRPG is being recognized, just seems to be something with the upgrade files.


E/: okay well, I just rechecked the files on FTP and I simple have no upgrade files on the server. Jesus.

TomL, can you do me one hopefully last favour and provide the compiled files (screenshot above) in smrpg-master/scripting "include", "smrpg", "smrpg_effects" and "upgrades"?

I think that should do the rest, all the other files from the scripting folder are implented already as from your post #4.

Last edited by Aesthetic; 03-31-2021 at 05:26.
Aesthetic is offline
TomL.
Veteran Member
Join Date: Oct 2017
Location: Germany
Old 03-31-2021 , 09:34   Re: Need help setting up SM:RPG
Reply With Quote #10

Move all upgrades you want to use into addons/sourcemod/plugins
Use sm plugins list via server console or rcon to see all loaded plugins.
Attached Files
File Type: zip smrpg_all_upgrades.zip (273.8 KB, 114 views)

Last edited by TomL.; 03-31-2021 at 09:36.
TomL. 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 19:32.


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