churchill
-
Posts
129 -
Joined
-
Last visited
Posts posted by churchill
-
-
Hi, I was active on here back in 2008, I released a BetterWeather script, and was working privately on some scripts with the intention of developing my own server gamemode, with what I thought had a Unique Selling Point alongside the usual features that you'd probably find elsewhere.
Sadly, real life got in the way and those other scripts never saw the light of day. But my son is now a bit older, and likes exploring driving around in GTASA or GTAIV, but I'm not really keen on him playing them due to the the chances of violence and bad language in the game.
Child Friendly Freeroam/Life Mode
So, I installed MTASA, and I'm running a local server so that he can drive/explore in freeroam.
I began to wonder how much of my earlier plans could be put into this local server to add some realism. I expect there are a number of scripts or game modes by now (It has been 6 years after all!) so I am basically looking for scripts or a game mode that has:
* Jobs (deliveries, public transport, taxi driving, etc).
* Buying Houses.
* Buying and locking cars, being able to upgrade them etc.
* Banking system.
* Fuel and refuelling of cars.
* Doesn't require command lines to activate them, done all through a nice GUI.
So far I've downloaded pizzaboy, bank, mabako-services, fuel, and my own betterweather (which is now fixed, the last version being untouched since DP2). Are there any other good scripts that you recommend, do they play well together? Is there a gamemode that already has nearly everything I want? (I don't mind tweaking and removing functionality if need be - e.g. I don't want weapons on my local server, amunation would be unavailable, it will be played offline)
I think that will probably be a good start for his point of view.
-
It's been ages since I was even relatively active with MTASA, before it became open source, but recently accepted a Facebook friend request from someone I used to speak to on here, and it got me wondering how things are these days.
Is MTASA now an active, thriving community? did anyone ever come up with an awesome complex scripted RPG server that didn't require "meta gaming" rules to keep people in check?
Reminiscing about the RPG server idea I started to develop, but can't find most of the notes I wrote, and a HD crash no doubt means I have none of the original code either, not that it'd probably be any use these days if things have moved on.
Would still love to see an RPG in the style I had in mind though, coz it would have been bloody awesome, if it'd ever been finished
-
As much as I admire your enthusiasm, but the way things are going, without any real desire to learn about how to add the features you want (Scripting is how you do it, but you need to LEARN!) your server is going to become just another bog standard RP server, with hardly any users and nothing new to offer anyone.
You either need to encourage others to work with you to make yours stand out as a better RP server, or why not join an existing set up and try to help them build a better RP server?
-
Oh, all usernames are the same, DP2.3?
- I didn't know that
But why i can /login [uSERNAME] when there are all the same?!
that's a local server account, unique to the server you're playing on, rather than your MTA community username. However, not every server is set up to allow that kind of thing, or at least not ervery server has a GUI equivalent of the register/login system, to make it easier for the players.
-
hey, how about some screenshots of the various functions in action so that people can see how it's coming along with installing it first?
-
for DP2 support you'd want to have it so that you register an account on the server and then use that as the username?
edit: Ace Gambit just edited his post above to say the same thing, in effect. Yes, it requires more work on the server to set up, but it's definitely a good idea.
-
I WANT A CREDIT AS WELL!!! I SUGGESTED THE PDA! I CAME UP WITH SOME GREAT IDEAS! I NEED RECOGNITION!
-
It really seems that putting everything in 1 query was the problem. The query seemed to be too long, and the database couldn't handle all those things after eachother. Fortunately, I fixed it, and light testing made it seem like it worked! I tested it on my own, with about 160 characters per message. All a's.
that's what I was referring to when I said that it was more likely a problem with the MTA command rather than a db issue.
-
just tell you on here? So you want us to copy and paste large chunks of stuff from the wiki because you're too damn lazy to look yourself? Your server = EPIC FAIL because it's owner = EPIC FAIL. Sorry sunshine, but round here, you only get rewards when you put in some effort yourself. Otherwise you WILL get shot down in flames. Nobody is going to help you unless you're willing to help yourself. The reason? We're all too busy with life, and our own projects to help people with their every little question that they need answering, when the answers are already available to them somewhere else.
So how about you start by reading up the MTA DM server and the introductions to scripting, etc, and then at least TRY to answer those questions yourself. When you come unstuck and have demonstrably tried to make things work yourself, then we'll be more inclined to help.
I'm afraid most of the replies below will now say the same thing, with you replying "GTFO meanies, I just want some help, if you're not willing to help, FO"...because no-one will pander to your laziness.
-
blimey, you're not asking for much, are you!
-
I still don't understand WHY a two table approach won't work. What happens when you try it? what error messages? What sort of problem is occuring etc.
Also, GioSerpo: Could you do a mock up of how you tried to use the BetterWeather system originally, so I can see what the problem is and fix it?
-
and in any case, that's the DB2 SQL Implementation, not SQL Lite
-
I know, I meant that 160 * 15 seems like a small amount of data to be causing problems!
it's more likely that it's a problem with column data length...2400 is quite a bit of text for one column to handle (though I had originally assumed that BLOBs were quite large), as opposed to 15 rows with each holding a column containing 160 characters.
just had a quick look, and got found the current implementation of BLOB in SQL Lite, has a max length of 2147483647, so 160*15 should be fine.
So maybe it's a problem with the MTA command that reads/writes that data, rather than SQL itself? in this case, maybe the change of DB structure to a 2 table approach will be more successful?
-
also, i got the betterweather resource implemented, but i had to export a function that wasnt already exported (i think it wasnt exported on purpose, but idk why not).
Oh? tell me! I can probably explain why it wasn't exported originally etc
-
there is a BIG problem: SQL doesn't support the huge length of 15 SMS' with 160(actually, 168) chars and my guess is that we need to go to MySQL. Which is alot harder for the customer...
Oh noo thats bad
A alternative: smaller SMS? So there is a limit of chars or so.
Is this Limit only for one table or in the whole database?
Well, the IRL limit is 160. It also has that same 160 limit. But that's too big... =/
Hmm, something's not right if that's the limit...if I'm understanding the sql table you created you're storing all the users SMSs in one column?
I think GioSerpo is right when he suggests a two table approach.
phoneOwner table
username (Primary Key)
phonenumber
SMS table (a new row for each SMS entry)
username (Foreign Key)
SMSMessage (main body of SMS message)
ReadStatus (for holding a true/false)
to me, that's a better structure to hold the data as it's a more normalised approach, is more flexible and more scalable than the original structure?
-
Make a GUI window for something like "Yellow Pages" which will show all the players numbers.
Some people won't want to be randomly called in game some will want to be ex-directory
I'd rather it have the option to add people to a contacts list, than display EVERYONE'S numbers.
-
I'm still keen on having the conversation appear in a separate window to the main chat. If I have some time tonight I'm going to try and work on a gui where you can add players to a private chat area. It'll be a separate resource probably, allowing for "teamsay" type chats (I guess you could have restrictions on who has team chat facilities, e.g. Police and Emergency services, but not any random gang on your server), or a window for admin users, etc.
But this same resource would then be useable in this phone/pda system, because by default it will just be a private chat for the two players, but will also then extend to allow conference calling.
-
it's probably something simple like your MySQL service not restarting automatically on your computer when you first turn your computer on.
-
you might be right, I'm not familiar with SPs in MySQL, having come from SQL Server background, so I just expected them to work the same way.
I guess that's why the PHP mysqli thing works differently.
-
there are more than enough rp servers as far as I know.
yes, but as I said, most of them are exactly the same, and don't really take advantage of the full power of scripting in MTA. They can and should be aiming for better systems, rather than just the basics. There are plenty of those kinds of servers, but only a handful of more complex servers, which are all still in development from what I've seen. Quality over Quantity. I could also say the same about DM servers....more than enough as far asi know
-
and maybe better RP modes IS what MTADM needs
anybody... please take that gun and shoot me..
Just because you don't like the idea of RPing doesn't mean everyone else feels the same way. live and let live, and all that.
-
While you (churchill) have a point, it's not like this one function is going to make a difference and make people leave SAMP by the hundreds.
I never said this one function would make people leave SAMP, I said a half decent RP(G) server would. There are plenty of other things that can be scripted to help make that happen, which would push things forward (when it comes to RPing on MTA, at least) as opposed to the usual RP server which usually amounts to a choice of skins, a bank account, limited ways to earn money, so they become little more than DM servers but with stupid rules on when and where you can kill people, and Admins who ban you if you break them. Servers which have rules such as "You can't call someone by their name in IC chat because you've seen it above their head. You can only use their name if they've told you their name. This is called Meta Gaming and is against the rules of the server".
That's not my idea of an MTA RP server. MTA scripting can make more complex RPing modes than that. A well scripted RP server would only have rules that are enforceable through code, not through asking players to behave a certain way or be kickbanned. An RP Server should allow DMing, if that's how the player wants to RP, but the server should provide the in game players with ways and means of handling a DMer, and not resort to needing an Admin to kick/ban them.
I've seen a few RPs in development that all seem to be bucking that trend, and I look forward to them being released properly. Hopefully THEY will be what helps brings users over from SAMP.
My suggestion was just another small element that could be applied to such a server, that would mean one less "meta gaming" loophole.
-
but being able to change the nametag of a player to "IM_LAME" really makes the deathmatch mode better?
and maybe better RP modes IS what MTADM needs in order to wrestle more players away from SA-MP? After all, DM hasn't exactly been a roaring success, judging by the player numbers on most servers
-
is it possible to have the setPlayerNametagShowing function extended?
Ideally, bool setPlayerNametagShowing (player thePlayer, bool showing, client theClient)
so that you can do things like turn off nametags on every player except for those on a player's team, for example?
I note that there's a SetPlayerNametagText coming in DP3, so I guess it would be possible to set the text to "" on every client, which would probably cause the same effect?
2008 Real life/RP game mode revisited
in Servers
Posted
Back in 2008
Hi, I was active on here back in 2008, I released a BetterWeather script, and was working privately on some scripts with the intention of developing my own server gamemode, with what I thought had a Unique Selling Point alongside the usual features that you'd probably find elsewhere. Sadly, real life got in the way and those other scripts never saw the light of day.
The aim was to make a realistic RP server, with all the scripts remaining private. It was my intention to do it all myself, without any other 3rd party resources, and not make them public. But that was foolish, as I reckon that was one of the reasons why the plan was doomed. The plan was too grand for one person to do it alone, if it was even possible at all. I didn't know, because I didn't really reveal it to anyone.
2013
Now, call me stupid, but having taken a renewed interest in MTASA due to my son (he has also got me into Minecraft, he has a lot to answer for) I also started to think about my original plan. Except this time, if I was going to attempt something like this, I wouldn't do it alone (I have even less time now than I did then, but more importantly I'm wise enough to realise it's a big job!) Plus a change in my philosophy means I actually I want to see these scripts made public. We'd github the lot and collaborate with other developers as long as the scripts were being developed towards the same end goal.
Below is what I had in mind (at least the bits I can remember - I can't find the original big list of notes I started with) - backed up with a huge set of database tables and lots of scripting to handle not just real player interaction, but fallback computer controlled outcomes if there were no Real Players to perform certain functions. I wasn't even entirely sure it was possible (or playable without lots of lag) - ideas had come mainly from reading the functions and events available in DP2, and what was coming in DP3.
Now it's quite possible that there are game modes/scripts/servers that do all this by now, if so, I'd love you to point me in the direction of them, but if not, I think I might be up for restarting this project again, but only if there are others willing to join in?
Registering and starting a new character (this part was done)
Gameplay
Houses
Cars
Business and Economic system This was the main script I was concentrating on back in 2008)
Other jobs
Crime and Law enforcement
Weapons
News and current events
Gang hierarchy
Chatting to others, making friends, bugging, trust
Getting rid of evidence
And more (but I've probably forgotten some of the more intricate bits of the system)