Raised This Month: $39 Target: $400
 9% 

Have I written the largest plugin for Sourcemod?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Skyy
AlliedModders Donor
Join Date: Jan 2010
Location: Toronto, Ontario
Old 11-13-2022 , 02:32   Have I written the largest plugin for Sourcemod?
Reply With Quote #1


Expecting to break the 300,000 byte marker before it's finished. This is a giant text parser.
A few years ago, it was close to breaking the line count of Sourcemod.
__________________
Nom Nom Nom
Skyy is offline
Drixevel
AlliedModders Donor
Join Date: Sep 2009
Location: Somewhere headbangin'
Old 11-13-2022 , 14:45   Re: Have I written the largest plugin for Sourcemod?
Reply With Quote #2

That is indeed a girthy boy.
__________________
No longer as active here, you can find me via my links at my Website instead.
Drixevel is offline
alasfourom
Senior Member
Join Date: Feb 2022
Location: Saudi Arabia
Old 11-13-2022 , 15:58   Re: Have I written the largest plugin for Sourcemod?
Reply With Quote #3

I wonder how many lines
__________________
alasfourom is offline
Skyy
AlliedModders Donor
Join Date: Jan 2010
Location: Toronto, Ontario
Old 11-13-2022 , 19:10   Re: Have I written the largest plugin for Sourcemod?
Reply With Quote #4

Quote:
Originally Posted by alasfourom View Post
I wonder how many lines
25,935.
The Original skyrpg was > 200,000 lines, since a lot of stuff was hard-coded.
I managed to squeeze this version down to around to 20% of that amount with the sequel to it, RPGMaker v1 and this version is about 13% of the original.

It's less overall code, but it's all logic, so it was a lot harder from a technical stand-point, as it needed to be designed for scalability and flexibility with the expectation that a group of people could all download it and develop their own totally-unique experience through editing config files alone.

Compared to the old, hard-coded version where new talents and features had to be hard-coded, the caveats to this new system is the main config file has about 400 variables, and the talent config I built is over 3,000 lines, and that's just for creating talents. Each system has its own config that has to be fully-configured. It could be as small as a few thousand lines or as large as hundreds of thousands of lines, depending on how large and complex of an RPG experience a server operator wants to build for their community.


This is primarily why I won't port RPGMaker1 or RPGMaker2 to new syntax.
Current SM versions support old syntax, and tmk they don't have plans to stop supporting it.

Might write RPG Maker 3 in new syntax, but not sure, yet. This started as a multi-month project that ballooned into a multi-year project.
__________________
Nom Nom Nom

Last edited by Skyy; 11-13-2022 at 19:15.
Skyy is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Country of 4th world
Old 11-14-2022 , 11:31   Re: Have I written the largest plugin for Sourcemod?
Reply With Quote #5

Oh, shit. I hope you split code by different includes. Otherwise, I cannot imagine, how to manage such huge code and find anything in it. For me, it's quite difficult to support even 2000+ lines of my code.
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch)
[My plugins] [My tools] [GitHub] [Articles] [Donate]

[ANY] Accepting paid orders on fixing game crashes (expensive). Doesn't accept orders on plugins!
Dragokas is offline
Grey83
Veteran Member
Join Date: Dec 2014
Location: Ukraine
Old 11-14-2022 , 13:34   Re: Have I written the largest plugin for Sourcemod?
Reply With Quote #6

Skyy, I hope you didn't get a crappy code like in FireWaLL Super Admin?
__________________

Last edited by Grey83; 11-14-2022 at 13:34.
Grey83 is offline
Skyy
AlliedModders Donor
Join Date: Jan 2010
Location: Toronto, Ontario
Old 11-21-2022 , 06:55   Re: Have I written the largest plugin for Sourcemod?
Reply With Quote #7

Quote:
Originally Posted by Dragokas View Post
Oh, shit. I hope you split code by different includes.
Definitely.
The configs are split up, too. Probably why the binary is a lot smaller.

The highlighted talentmenu.cfg will probably be 200,000 - 300,000 bytes when it's finished.

Quote:
Originally Posted by Grey83 View Post
Skyy, I hope you didn't get a crappy code like in FireWaLL Super Admin?
I wrote the code, myself; I didn't get it from somewhere else.
__________________
Nom Nom Nom

Last edited by Skyy; 11-21-2022 at 06:59.
Skyy is offline
Grey83
Veteran Member
Join Date: Dec 2014
Location: Ukraine
Old 11-21-2022 , 09:51   Re: Have I written the largest plugin for Sourcemod?
Reply With Quote #8

Quote:
Originally Posted by Skyy View Post
I wrote the code, myself; I didn't get it from somewhere else.
I'm talking about the quality of writing code, and not about borrowing pieces of code.
__________________
Grey83 is offline
Skyy
AlliedModders Donor
Join Date: Jan 2010
Location: Toronto, Ontario
Old 12-02-2022 , 06:15   Re: Have I written the largest plugin for Sourcemod?
Reply With Quote #9

Quote:
Originally Posted by Grey83 View Post
I'm talking about the quality of writing code, and not about borrowing pieces of code.
the code I write for my community is always top shelf; if you're going to do something, do it right; I don't trust other people to do something that I can do better, and I would never use the majority of the publicly-shared plugins, since a lot of developers have no standards.
__________________
Nom Nom Nom

Last edited by Skyy; 12-02-2022 at 06:16.
Skyy is offline
Drixevel
AlliedModders Donor
Join Date: Sep 2009
Location: Somewhere headbangin'
Old 12-02-2022 , 12:44   Re: Have I written the largest plugin for Sourcemod?
Reply With Quote #10

Quote:
Originally Posted by Skyy View Post
the code I write for my community is always top shelf; if you're going to do something, do it right; I don't trust other people to do something that I can do better, and I would never use the majority of the publicly-shared plugins, since a lot of developers have no standards.
This is like the bog standard way most coders think. lol
__________________
No longer as active here, you can find me via my links at my Website instead.
Drixevel is offline
Reply


Thread Tools
Display Modes

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:48.


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