SilabGarza - RS Private Server  
Home Forum Play Register Store Market Highscores Mark Forums Read
Go Back   SilabGarza - RS Private Server > SilabGarza > Suggestions > Suggestions (archive)
Reload this Page A Suggestion


A Suggestion
Old
  (#1 (permalink))
Rac is Offline
Junior Member
image
 
Rac's Avatar
 
Posts: 25
Cookies Given: 1
Cookies Received: 5
Time Online: 2 d 4 h 20 m
   
Default A Suggestion - 05-28-2015, 10:46 PM

Hello,

Before I go explain what my suggestion is, let me say that I have not played SilabGaraza actively for quite a while, and when I did I generally only spoke to a few friends and didn't use the forums, so you almost certainly will not remember me. Although I am not new in that sense, I won't pretend to understand the details and intricacies of whatever problems the server and it's owner are having.

Anyway, onto my idea. It's clear, even to me, that the community wants to help the server but there isn't really a way for an ordinary player to do so. It's also clear that there aren't a great deal of updates. I think that a way to address both of these points is by implementing a scripting system with a simple interface and allow people to contribute bits of code. The vast majority of players won't have any knowledge of coding / scripting, but I believe that with a very simple interface people would be able to contribute to the server in a meaningful way by providing bits of content. Of course scripts would have to be reviewed and tested before they could be added to the game, but it would save vast amounts of time and would allow Gir to focus on fixing more substantial things, such as bugs and client improvements.

The only negative side that I can see to implementing this feature would be the time it would take to set up, but it shouldn't be too difficult nor take too much time. When I thought of this idea I actually tried coding it myself (for fun) on a server that I downloaded and it only took a few hours. I implemented scripting as shown below and only as a proof of concept, but a script looked like this:

Code:
from server.script import ScriptInterface

def clickNPC_XXXX():
	if($getAttribute("FarmingLevel", player) < 20):
		$ms("Your farming level is less than 20, go away!");
		$tp(1111, 1111, 1, player);
	else:
		$dialogue("Ah, I see that you are a farmer like myself!", "Take this item as a reward!", "Master Farmer", 1234, player);
		$giveItem(1, 1, player);
I hope that at the very least you will find my suggestion interesting and give it due consideration. Before replying though, please remember that I am simply trying to help because I enjoyed playing the server in the past and hope to continue to.

Thanks,
Rac.
  
Reply With Quote
The Following User Says Thank You to Rac For This Useful Post:
Gemz Pamaaj (05-28-2015)
Old
  (#2 (permalink))
Marat is Offline
image
 
Marat's Avatar
 
Posts: 1,802
Cookies Given: 1
Cookies Received: 321
Time Online: 46 d 20 h 4 m
   
Default 05-29-2015, 05:42 AM

noty 100% keylogger
  
Reply With Quote
Old
  (#3 (permalink))
Lad Gf is Offline
<span style="color: mistyrose">Just a Prince :)</span>
image
 
Lad Gf's Avatar
 
Posts: 275
Cookies Given: 47
Cookies Received: 43
Time Online: 8 d 9 h 13 m
Clan: #TeamStrong
   
Default 05-29-2015, 07:39 AM

[deleted]

ot; I support what you're trying to do.
kappa

bless this thread and this post.




Didn't know we could post other RSPS related stuff. Sorry for late clips :/

Last edited by Mr 223; 05-29-2015 at 08:11 AM.
  
Reply With Quote
Old
  (#4 (permalink))
GoogleSlayer is Offline
Senior Member
image
 
GoogleSlayer's Avatar
 
Posts: 7,367
Cookies Given: 1,174
Cookies Received: 1,131
Time Online: 167 d 23 h 10 m
   
Default 05-29-2015, 08:08 AM

Lol lad gf I pity you so much.

OT: If people are going to contribute, there's going to pop up bugs and dupes everywhere. And you can't view the source anyways, so how would you know stuff like certain variables, etc.




My Steam Profile (from SteamDB)


~Gifts ~
Spoiler
  
Reply With Quote
Old
  (#5 (permalink))
Mr 223 is Offline
Moderator
image
 
Mr 223's Avatar
 
Posts: 4,021
Cookies Given: 455
Cookies Received: 438
Time Online: 223 d 14 h 21 m
   
Default 05-29-2015, 08:14 AM

Quote:
Originally Posted by GoogleSlayer View Post

OT: If people are going to contribute, there's going to pop up bugs and dupes everywhere. And you can't view the source anyways, so how would you know stuff like certain variables, etc.
He did say it would need to be reviewed first, which I assume includes testing later.

Quote:
The vast majority of players won't have any knowledge of coding / scripting, but I believe that with a very simple interface people would be able to contribute to the server in a meaningful way by providing bits of content.
Also, I'm not quite sure what you mean by this. Can you explain this interface and how it would help the people who don't already know coding? (I ask as a person who doesn't know how to code.)



  
Reply With Quote
Old
  (#6 (permalink))
GoogleSlayer is Offline
Senior Member
image
 
GoogleSlayer's Avatar
 
Posts: 7,367
Cookies Given: 1,174
Cookies Received: 1,131
Time Online: 167 d 23 h 10 m
   
Default 05-29-2015, 08:31 AM

Quote:
Originally Posted by Mr 223 View Post


He did say it would need to be reviewed first, which I assume includes testing later.



Also, I'm not quite sure what you mean by this. Can you explain this interface and how it would help the people who don't already know coding? (I ask as a person who doesn't know how to code.)
Even so, the testing probably takes longer than creating the script yourself, if you want to make it bug-safe.




My Steam Profile (from SteamDB)


~Gifts ~
Spoiler
  
Reply With Quote
Old
  (#7 (permalink))
Rac is Offline
Junior Member
image
 
Rac's Avatar
 
Posts: 25
Cookies Given: 1
Cookies Received: 5
Time Online: 2 d 4 h 20 m
   
Default 05-29-2015, 09:41 AM

Quote:
Originally Posted by Mr 223 View Post
Also, I'm not quite sure what you mean by this. Can you explain this interface and how it would help the people who don't already know coding? (I ask as a person who doesn't know how to code.)
The interface, how I imagined it and used in my example, is simply a java class with some useful methods that an instance of is put into the scripts when they run ($). It helps by removing a lot of the more technical stuff (exception handling, null pointers, threading, etc) from the scripting and giving people a very simple list of 'commands' to use. By cutting out of all the technical stuff, all you have to do is learn the syntax of Python or whatever scripting language to apply these 'commands' and create content.

To give an example:

Code:
def clickItem_XXXX(player):
	if($getAttribute("friend", player) == $getPlayer("Jack")):
		$ms("You are friends with Jack")
In this script, you can just do getPlayer(name), instead of something like:

Code:
for(Player p : PlayerHandler.player) {
	if(p != null) {
		if(p.playerName.equals("Jack")) {
			//do something
		}
	}
}
The main way that scripting is easier for people that aren't experiences in coding however is it's very nature; languages like Python, Lua and Javascript (the 3 languages Java supports I believe) are easy to learn and fairly simple.


Quote:
Originally Posted by GoogleSlayer View Post


Even so, the testing probably takes longer than creating the script yourself, if you want to make it bug-safe.
The wonderful thing about using a scripting language is that they are very quick to test and develop. You don't need to compile the files every time you make a change, like with Java and you don't even have to close the server. If all of the contributions were released on the forums then anyone would be able to check for bugs in the code and if the interface is implemented properly, really the only bugs that could come about would be because of syntax. It is an important point to make that scripting would be a way to add new content, not to modify systems or other things in the game so the worst thing that can happen is that the piece of content doesn't work.


Quote:
Originally Posted by GoogleSlayer View Post

OT: If people are going to contribute, there's going to pop up bugs and dupes everywhere. And you can't view the source anyways, so how would you know stuff like certain variables, etc.
The interface. Publish the list of methods on the interface and you don't need to know anything about the source.


Quote:
Originally Posted by Marat View Post
noty 100% keylogger
Do I even have to explain why this is a stupid response?

Last edited by Rac; 05-29-2015 at 11:40 PM.
  
Reply With Quote
The Following 4 users gave Rac some cookies:
GoogleSlayer (05-29-2015), Joey Loves Sosa (05-29-2015), Lad Gf (05-29-2015), Mr 223 (05-29-2015)
Old
  (#8 (permalink))
Rulez12 is Offline
Old Legend
image
 
Rulez12's Avatar
 
Posts: 2,807
Cookies Given: 7
Cookies Received: 115
Time Online: 24 d 21 h 55 m
Clan: The unknown
   
Default 05-29-2015, 10:27 AM

Why when someone is willing to help and knows what's he's doing ya say stupid stuff. ......
Rac this is a great idea


  
Reply With Quote
Old
  (#9 (permalink))
Rac is Offline
Junior Member
image
 
Rac's Avatar
 
Posts: 25
Cookies Given: 1
Cookies Received: 5
Time Online: 2 d 4 h 20 m
   
Default 05-29-2015, 10:51 AM

Quote:
Originally Posted by Rulez12 View Post
Why when someone is willing to help and knows what's he's doing ya say stupid stuff. ......
Rac this is a great idea
Thank you.

Last edited by Rac; 05-29-2015 at 11:39 AM.
  
Reply With Quote
Old
  (#10 (permalink))
^^ Pk ^^ is Offline
<span style="color: darkorange">Meet your makers</span>
image
 
^^ Pk ^^'s Avatar
 
Posts: 551
Cookies Given: 72
Cookies Received: 74
Time Online: 7 d 16 h 36 m
   
Default 05-29-2015, 12:16 PM

idk who you are but its a good idea, you'd have to get Gir to trust someone else than himself shit to do with SG and thats not gonna happen but aye good idea anyways.


Don't judge by what you hear, judge by what you see.

  
Reply With Quote
adsense code2.3
Reply

Bookmarks

A Suggestion

Suggestions (archive)




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
adsense2.6
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
Trackbacks are On
Pingbacks are On
Refbacks are On

kBank Policy
Posting New Thread: 3 Points
Posting New Reply: 2 Points


All times are GMT -7. The time now is 04:58 AM.





Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2017, vBulletin Solutions, Inc.