SRB2 Message Board  

Go Back   SRB2 Message Board > Sonic Robo Blast 2 > SRB2 Discussion

Reply
 
Thread Tools Search this Thread
Old 4 Weeks Ago   #6061
Yacker
Metallic
 
Yacker's Avatar
Default

How about NAT hole punching? There's already the master server, it'd be perfect to set up for it, making hosting a lot more accessible and easier.
Server connects to MS, getting assigned a port by the OS>MS tells clients not only the IP, but also the port>connections are established

Last edited by Yacker; 4 Weeks Ago at 10:34 PM.
Yacker is offline   Reply With Quote
Old 4 Weeks Ago   #6062
Ikkarou Tatsuru
派手
 
Ikkarou Tatsuru's Avatar
Default

Also, this was already talked about on Discord, but I'm reporting here too for the sake of record.

Exit sector behavior could be changed to toggle a "finished" flag for every player that enters it, just once per map, as opposed to constantly setting player.exiting to above 0 while standing in the sector, instead just setting it once. This would make customizing post-exit behavior with Lua much easier.
__________________
put me back in the simulation immediately you oversized soda machine

Last edited by Ikkarou Tatsuru; 4 Weeks Ago at 09:59 PM.
Ikkarou Tatsuru is offline   Reply With Quote
Old 3 Weeks Ago   #6063
"Lat'"
Stop it
 
"Lat'"'s Avatar
Default

Here's a real dumb idea that crossed my mind;

What if colormaps were palette / transmaps lumps?
The game would simply use another palette to render what's inside the colormap. The problem with that would be the possibility to have more than 255 colors on-screen, breaking gifs, but on the other hand, this would allow software to render colormaps without eating away all the quality from sprites (this would also possibly make it faster to process since it wouldn't have to approximatively remap colors again), and openGL to render said colormaps in a better way than this ugly ass fog without hair tearing renderer rewrite.
Not only that, but this could allow for some really good looking colormaps, and infinite customization reguarding those.
__________________
Quote:
Originally Posted by Bronydude2k5 View Post
If you make me a Sash Lilac wad, I'll make you a sonic sprite hack of any choice.
"Lat'" is online now   Reply With Quote
Old 2 Weeks Ago   #6064
choalover
The Empiral Master
Default

It would be cool for there is a way to remove hooks in the future by using the removeHook function.
__________________
EmpiralMP v1.1.2 Official Thread: https://mb.srb2.org/showthread.php?t=43548
choalover is offline   Reply With Quote
Old 2 Days Ago   #6065
gregory_house
ʇxǝʇ pǝddᴉlɟ ɹɐoɯ ɥʇᴉʍ ʍoN
 
gregory_house's Avatar
Default

Would it be possible to have a way to execute a vanilla command inside a custom one, sort of like the super() action in SOC?


This would be amazing for custom scripts that for example require permissions, for example "ban 5" could first run a check for Terminal permissions if used by a Terminal admin that isn't the host/admin, and if the check is successful then write to the host console; if the player typing it were the host it would call its normal command.


Or "name Sonic" could run a check to see if the player is not muted by a custom script and only then allow players to change their name.


Or many many many other things....
__________________
Intel i7-4770K - ASUS GTX970 4GB OC - 2x8GB Dominator Platinum @1866 CL10 - Samsung 840PRO 256GB
gregory_house is offline   Reply With Quote
Old 2 Days Ago   #6066
choalover
The Empiral Master
Default

Quote:
Originally Posted by gregory_house View Post
Would it be possible to have a way to execute a vanilla command inside a custom one, sort of like the super() action in SOC?


This would be amazing for custom scripts that for example require permissions, for example "ban 5" could first run a check for Terminal permissions if used by a Terminal admin that isn't the host/admin, and if the check is successful then write to the host console; if the player typing it were the host it would call its normal command.


Or "name Sonic" could run a check to see if the player is not muted by a custom script and only then allow players to change their name.


Or many many many other things....
Yes, but you can do this with Lua.
__________________
EmpiralMP v1.1.2 Official Thread: https://mb.srb2.org/showthread.php?t=43548
choalover is offline   Reply With Quote
Old 2 Days Ago   #6067
Rapidgame7
Rookie modder
 
Rapidgame7's Avatar
Default

Quote:
Originally Posted by choalover View Post
Quote:
Originally Posted by gregory_house View Post
Would it be possible to have a way to execute a vanilla command inside a custom one, sort of like the super() action in SOC?


This would be amazing for custom scripts that for example require permissions, for example "ban 5" could first run a check for Terminal permissions if used by a Terminal admin that isn't the host/admin, and if the check is successful then write to the host console; if the player typing it were the host it would call its normal command.


Or "name Sonic" could run a check to see if the player is not muted by a custom script and only then allow players to change their name.


Or many many many other things....
Yes, but you can do this with Lua.
Actually, yes and no.
Yeah, you can go ahead and make a new command, but it would be more accessible if you could just put your cool command on top of an existing one and still call the original command whenever applicable. (EDIT: Thinking about the "name" example, it would be useful to somewhat counter name scripts?)
Nowadays, if you override a command such as "ban", you are no longer able to ban people due to you overriding the command that writes the ban to a file along with pushing the victim off the server.

The ability to call the vanilla variant of an overriden command would be neat, but it would cause problems if multiple scripts were to have different features, people wanted to use both and it happened that the script authors overrode the same commands.
EDIT: But on the other hand, what are the chances?

Quote:
Originally Posted by gregory_house View Post
Or "name Sonic" could run a check to see if the player is not muted by a custom script and only then allow players to change their name.
You already can't change your name while the server has mute enabled. In fact, joiners are stuck with the default "Player #" name.
__________________
Ever tried to start a project until you find out it's too complicated then you abandon it

Last edited by Rapidgame7; 2 Days Ago at 06:51 PM. Reason: added 2 edit
Rapidgame7 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Some suggestions..... Konata123 SRB2 Discussion 3 03-30-2011 03:01 AM
I want some suggestions/reviews, please. Shadow Hog Outdated Releases (0.X & 1.X) 22 10-31-2006 01:45 AM
Question about a few 1.1 suggestions SSNTails Help 11 01-07-2006 04:27 AM
My suggestions RenegadeC Help 41 10-18-2005 09:51 PM


All times are GMT. The time now is 09:56 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2018, vBulletin Solutions, Inc.