Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


  Show Posts
Pages: 1 ... 5 6 [7] 8
91  Off Topic / General Chat / Re: GTA:IV Benchmarks on: September 14, 2009, 11:35:21 pm
Mmm ive got GTA4 yesterday, today first time played :P.

Game realistic is really good, but i dont like this all "register live account" stuff. The handling sucks for me too :P. And i cant enter a car with Enter >_>.

Scripting in Squirrel is probably easier then playing GTA4 :D. Where is the hp and armour status bar? On the mini map?

Anyway here is my laggy result :P

Quote
Statistics
Average FPS: 20.63
Duration: 37.62 sec
CPU Usage: 99%
System memory usage: 88%
Video memory usage: 90%

Graphics Settings
Video Mode: 1024 x 768 (75 Hz)
Texture Quality: Medium
Texture Filter Quality: Medium
View Distance: 24
Detail Distance: 36

Hardware
Microsoft® Windows Vista" Home Premium
Service Pack 2
Video Adapter: NVIDIA GeForce 8600 GT
Video Driver version: 190.38
Audio Adapter: Speakers (Realtek High Definition Audio)
Intel(R) Core(TM)2 Duo CPU     E4500  @ 2.20GHz
92  Off Topic / General Chat / Re: New VC:MP Server (With Squirrel!) on: September 14, 2009, 10:30:47 pm
Quote
That could be useful if there was only one main build available.


Hmm...

Quote
Squirrel is a high level imperative/OO programming language, designed to be a powerful scripting tool that fits in the size, memory bandwidth, and real-time requirements of applications like games.

Then it must be a way to read this stuff! :P



For example my IM [coded in... eek dunno :P ] is able to check what browser i have as default and whats the browser version.

Quote
That is not possible to do

;(. Hoping this will be possible to do in LU/VU :P.

Quote
This happens in mirc too btw.

But in mirc [ ] is replaced by ~ and ~. This looks better then a circle and - :).

Quote
The solution was to replace any []'s with rarely used characters in the values stored.

mmm...

Ok here new suggestions :P.

This will be useful for admins that likes banning players >:D.
* IsIpBanned( string? )
Checks the ban list for the entered ip and returns true or false. E.g. if i banned 127.0.0.1 and type /c isbanned 127.0.0.1 will return TRUE... But typing only 127.0 will returns false :P.

This can be used as an alternative form for respawning vehicle
* vehicle.StartPos
Returns or sets the vehicle pos to his originally from the Server.conf.
One time i entered the server and i said "WTF". All cars were placed in a line [yeah i have done a spawnall x/y/z command]. But the angles from cars were different [not always 0^ like in VCMP] and a few cars werent in the line... Everytime i joined an empty server the car were in a line. I have done the respawn stuff, every vehicle got his right pos, but if the server was again empty, vehicles has auto moved back! :(.
93  Off Topic / General Chat / Re: What do you think about LU? on: September 13, 2009, 09:40:17 pm
I am interesting more how many ppl will be on all LU servers :P.

GTA3 is old. I dont think a kid 9 years will play it* :P. This kid would play GTA4 or another game with super realistic graphics ;).

Anyway, i suggests looking on VC multiplayers now. VCMP has no scripting languages, cars are in inis and there is a reeeeeeal simple admin system. VCO gives us adding objects, LUA scripting and much more, everything is better etc. But look, why there are still more VCMP players then in VCO. I think because its easier to create an own "map" and kick players with built in commands then create own commands and doing maps in a more difficult way [also LUA?].

I suggest do the same for LU. Players dont need thousands of functions and many more stuff. They simple want to play with other ppl ;).

Improve sync and get a basic LU release :P ! There will be enough time in the future for adding scripting stuff ^.

* There was a kid 9 years old, that is a... MTA: SA clan leader :O.
94  Off Topic / General Chat / Re: New VC:MP Server (With Squirrel!) on: September 13, 2009, 08:13:50 pm
New suggestions * snap *

I think this is possible to do :P:

* GetHowManyPlayersAreInTheVehicle( vehicle's id)
Returns the number of players in a vehicle. I think its quite simple to script it [using while and checking how many times the player.Vehicle.ID will be the same as the number in ( ) ]. But i think if this will be a default Squirrel function, it could by used by many scripters [like for a check before using vehicle.Respawn, that is crashy ^ ]

* GetServerBuildDate
Returns the date when the server was compiled like 13/09/09. Can be useful for checking if our server hoster has updated teh server :P.

And this isnt probably possible ;)

* MovePlayerToSeat( player, seat number )
Moves the player to a seat. It was possible in VC single player [in the rob bank mission, botz in car have changed they seats].

* ChangePlayerName( player, newname )
In MTA SA is a command /nick newnick that changes our nick, and after this is a message Name is now know as NewName [similar to irc]. I think the server is holding all players nicknames, then why dont enable to change it :)?

* ChangePlayerTeam( player, Teamid )
Changing players team.
And questions:

Juppi said
Quote
Instead, you can print whats in the array slots, for example print( a[0] );
Ok and now i wanna make a /c kick command with NICK + REASON. Nick will be lets say in the array slot a[0]. But i cant specify how many words will be for the REASON. Then i would need something like "print everything from a[1] to end". Is this in some way possible?

From google code:
Quote
bool SetVehicleIndestructible( vehicle pVehicle )
I dont see this in the wiki. Is it possible to set some vehicles indestructible? And if yes: how?

From ini saving:
Quote
[bla bla]
AoDNC = 1234
Instead of [ and ], my nickname is saved as a - and a circle v_v. If i wanna print the content of the ini file with message, it returns AoD NC [without everything]. Is this a bug, that to ini arent saved [ and ]?
95  Liberty Unleashed / Suggestions / Re: instead of a server browser on: July 09, 2009, 09:49:17 pm
* NC hides x2 :P

Ah ok, so do 2 browsers but it shouldn't be complicated to use them :). VRocker, u have already done a VCMP server browser, worked good, so for LU it should be only modified and one server browser is ready.

And whats with Diav's idea for the server browser?

@ Stoku, od kiedy uzywasz wyrazenia "dude" :D.
96  Liberty Unleashed / Suggestions / Re: instead of a server browser on: July 08, 2009, 01:46:16 am
Eeek i dont think 2 browsers are a good idea :@. Ofc, everyone will be happy, but i cant image this...

My only idea how to do LU with 2 browsers is using shortcuts to LU.exe and run it with a parameter like -abc or -def :P
1. shortcut "LU with windowed server browser" [LU.exe -window]
2. shortcut "LU with GUI style server browser" [LU.exe -gui]

But anyway also this is too complicated.

Nah, dont saw any game before with 2 server browsers :P.
97  Off Topic / General Chat / Re: New VC:MP Server (With Squirrel!) on: June 30, 2009, 01:54:41 pm
Well thx for the answers :D.

I have tried to do a very stupid script: on player join auto kick. And the server wasnt shutting down  :o . Hmm so i guess i have smthing broken in my script [but reload_scripts works  ;) ]. Anyway the timer solve it. From beginning i have tried to kick the player after 20 ms, so the player only saw the Kaufman Cabs interior and auto quitted without any msg :D.

Quote
when health is <20 then the result will be negative, and since the health is an unsigned char it will go to 200 something which VC:MP will round to 100.

Hmm i dont remember now, but i have a similar one command in the mirc script with old dll and havent got this problem. Anyway ur code works :).

Quote
You cant change the RAND_MAX value afaik

Pff so who needs this RAND_MAX if its useless  ::) ?

If i use the code for RAND e.g. on scripts load, then ok, every time is another number. But im making a Weapon Crates. It will give the player a weap ID X-Y. And everytime i pick the pickup, restart server and again pick it, they r still the same weap ids.
Example:
Server start.
Crate 1 -> ID 20
Crate 2 -> ID 30
Restart server
Crate 1 -> ID 20
Crate 2 -> ID 30
So not very randomly, but the same code used on scripts load gives always a new number....

Btw. Grenades and remote grenades are also crashy like on baka's server?

I have tried GetFullTime, yeah works good, but it returns too many informations like day of week or year :P. One time ago i wanted to do in mIRC a time synchronizer [ local host time -> game time ]. So i done vcmp.settime $1 $asctime(ymm hours?) and $asctime(for minutes). So if the library wasnt implented, im not able to do this in squirrel :( ?

Quote
If you have an irc echo script, why not just echo the message when using the command..? That way you could also customise the colours etc for each command

Ym... /me blames my english teacher :P
Cause if i made in mIRC a vcmp.say thing, it was echoed on the chan. If i do Message (); in squirrel, its not echoed [but visible in game] and i would like to echo it :P. Ofc i could do a cmd in squirrel e.g. /c test and do the same in mIRC but only visible in chan [ msg $chan bla bla ], but i think it would be more complicated then useful.

Quote
if your server and the account number is big

Hmm im not trying to do a second LW or XE :D.

Quote
Well you could script your own weather change system,

Too lazy for difficult scripts :P. Im now playing with squirrels "while" to teleport all players to me etc. Btw. the weather rate uses all weather IDs from 0 to 9?

Quote
A distance function is relatively easy to script:

Ymm yeah REALLY EASY after i saw the code :D. But anyway it should be as a Squirrel functions, because other nubs would like to use it too i guess ;).

Ah and final question  8) . On another topic VRocker said, how squirrel is good, briliant, easy and good for game scripts or smthing like that. But why when i type "squirrel lang" in google i dont get much results? And if i type "squirrel" i see more informations about this animal from the forest :P. I already saw forums for help with PAWN, LUA, C, C++, C-- :P scripting, but nothing about Squirrel [ok, one forum this at the official web page ^^].

HOLY! After few hours server on, played on LW... I think, before i shuted down and started again the server, so...

[CTRL+ALT+DEL]

Ym and yeah, i ve got this "Unknown player" bug. After this, i couldnt join the server no more :(.
98  Liberty Unleashed / Suggestions / Re: Server browser on: June 30, 2009, 12:45:35 pm
Hmm for the first time i dont liked the idea, but i was thinking, how many servers can be in LU? I guess it will be ~ to VCO servers so max 10-15 servers <hides> + some temporary runed from a PC with 1 MB/s and lag 300 ms.

On this screen is definitely too much informations. But for not much servers, LU wont need this all Tabs, so after all this is a good idea :). But only 1 thing: if i got no internet connection [dunno, my dog eat all cables?] i would like to open a local server, type in favs ip 127.0.0.1 and play. And the problem could be here with Internet and Official. They both could lag if no internet connection or Master Server down like in VCMP ><.

Ah and IMO the server browser should be in a window like on screen. Because a GUI interface makes me mad like in MTA [GTA SA loading 2 minutes and after all no good servers too play :/ ].
99  Off Topic / General Chat / Re: New VC:MP Server (With Squirrel!) on: June 29, 2009, 01:20:22 pm
Bugs:
1. Split returns an array error :@

This was an example from Squirrel's web page
Code: [Select]
eg.
local a = split("1.2-3;4/5",".-/;");
// the result will be  [1,2,3,4,5]

2. Kick on Join or on Spawn = auto closing the Server :(

In this example, it was a kick when the Nickname is a number. My code:
Code: [Select]
if ( IsNum( player.Name ) ) {
 Message( "** Auto-kick " + player.Name + ", bla bla." );
    Announce( "Kick: nick", player );
 KickPlayer( player );
 }
But what funny, if I use a timer e.g.
Code: [Select]
NewTimer( "KickPlayer", 600, 1, player );The server is not auto closing.

3. HP decreasing bug  ???
I made a goto cmd, but if someone use it, immediately HP is decreasing by 20%, e.g. from 100% hp -> 80% hp, from 77% hp -> 57% hp, but if a player has less then 20% hp...


And sometimes, the player is flying in the air (classic vcmp bug).
Code: [Select]
player.Health = ( player.Health - 20 );
4. Small spelling bugs:
From the get weapon name from id:
id 32 returns m60, should be M60 :D
id 30 was probably Rocketlauncer, should be Rocket Launcher

5. Counting players on player part
If im leaving the server, then it's empty :P. But i used the GetPlayers() in the Part function, and this returns 1 player :(. I know, a small bug but maybe its worth to report :).

Help :) :
1. From Squirrels web page:
Code: [Select]
RAND_MAX

the maximum value that can be returned by the rand() function
But how to set the RAND_MAX to e.g. 10? I found something about RAND_MAX on a C forum :) but the 1st random number is always the same :/.
Code: [Select]
local max = 10;
    local asd = (rand() % max) + NUMBER;

2. Again Squirrels web page:
Code: [Select]
date([time], [format]);

returns a table containing a date/time splitted in the slots:

sec Seconds after minute (0 - 59).
min Minutes after hour (0 - 59).
hour Hours since midnight (0 - 23).
day Day of month (1 - 31).
month Month (0 - 11; January = 0).
year Year (current year).
wday Day of week (0 - 6; Sunday = 0).
yday Day of year (0 - 365; January 1 = 0).

if time is omitted the current time is used.
if format can be 'l' local time or 'u' UTC time, if omitted is defaulted as 'l'(local time).
But every time i tried smthing, nothing happend  :-[ . Maybe someone could say how does the code look like, to return HOUR:MINUTE ?

Suggestions:
1. I made now 500 squirrel code lines ^^ but i would like to echo irc some actions like: after setting weather with a "squirreled" cmd, the Message [e.g. Admin player.Name has changed weather ID to...] could be echoed. Maybe a print2 or smthing :) ?

2. I'm trying to do the register and login stuff. I dont think about INI, cause for many players, could work slowly, SQL in some way dont worked for my (the sample code, if i typed /c stats only was: Stats for player, but nothing else, and if i pasted the sample cmd into a new main.nut, worked  :-\ ), so i was thinking about the XML stuff. Is this a good choice :P ? And if yes, i would be happy if someone could in the next days or weeks describe it in the wiki.

3. After all i like the WeatherRate :) . But it would be cool, if i could set, what weather IDs can be included in this WeatherRate. Here an example [server.conf]:
Quote
<WeatherRate>NUMBER</WeatherRate> // if not set use default
<WeatherRateNextChoose>FROM FIRST TO LAST/RANDOM </WeatherRateNextChoose>// if not set = default, if random, the next weather ID will be one of this bellow
---skins, pickups stuff---
<Weather ID="ID" TimeRateToChangeThisWeather="AFTER HOW MANY SECS THE WEATHER WILL BE CHANGED, IF DEFAULT=USE NUMBER FROM WEATHER RATE"/> // if the function [?] <WeatherID> not found, use default weather IDs from server, but if this set, the WeatherRate will choose the IDs from <WeatherID>
<Weather.... />
<Weather.... />
 

Cause i would like that WeatherRate changes the weather also to some experimental IDs like "5426", which worked pretty good, not like on baka's server ><.

4. To squirrels function:
GetSpeed( player );
Getting the speed in mph that everyone can easy convert to kmh or something else.
GetDistance( player, plr ); or ( player, Vector( XYZ ) ); to say e.g. how far is the player from Respawn point
In meters ofc :)
GetIdleTime( player );
In secs.

5. To the KeyBind:
OnFootActionKey <TAB>
And maybe a useless vehicle key, cause i have a great idea for a key bind in vehicle, but the key should be useless and working both for driver and passenger. Is there someone :P ? Maybe also action key?

Thx for reading :D

Edited this post 20 times or more :D
100  Off Topic / General Chat / Re: New VC:MP Server (With Squirrel!) on: June 19, 2009, 09:39:06 pm
some time people really do just time out.

For me timeout means Crash or Lost connection. I dont see any other reasons, why a player should time out and quit the server.

I think i found a bug in the vcmp.settime $1 <HOUR> <MINUTE>. If i set e.g. 20 06, the hour changes only to 20, but minutes are still the same...
Code: [Select]
vcmp.settime $1 $4 $5
Ym, what a pity with this Ammu text ;(.

Ok, now only i need to have the 2 answers to my post from the 1st page :).

Or... The respawn pickup in squirrel still doesnt work for me. Adtec and Force tried to help me, but it doesnt respawn :/.

I made this code for test:
Code: [Select]
function onPickupPickedUp( player, pickup ) {
if( pickup.Model == 366 ) {
Message( "omg its a " + pickup.Model );
}
}
And this works, but where i have to put now the respawn stuff? After a time delay ofc :).

Solved after few hmm hours :P... Here the code for some other nubs :D
Code: [Select]
  if ( pickup.Model == ID ) {
    MessagePlayer( "bla bla", player );
    pickup.RespawnTime = 3;
  }
101  Off Topic / General Chat / Re: New VC:MP Server (With Squirrel!) on: June 18, 2009, 10:08:36 pm
Buuu, and i think adding "Crash" its possible. Worked on the mIRC script, alias code:
Code: [Select]
alias qreason {
  if ($1 == 0) return (Crash/Lost)
  elseif ($1 == 1) return (Quit)
  elseif ($1 == 2) return (Kick)
}

Quote
The other way is slapping VC-MP team to add it to the next version of VC-MP
Good joke, VCMP team is laaaazy....

I think VRocker, Juppi and Knight2k9 can hax this :).
102  Off Topic / General Chat / Re: New VC:MP Server (With Squirrel!) on: June 17, 2009, 10:41:08 pm
:) the dll is working good, but some aliases are wrong [like this that i gave yesterday on irc]. And the vcmp.setweapon now works good, setting ammo dont fails :P.

Im using FBS, and i had to copy all the aliases [and patch some of them]. E.g. the Car database hash doesnt work, but im not worry, cause there are very similar $vcmp aliases.

Here the connect code for FBS, made by u VR :P
Code: [Select]
alias vcmp.listen {}

alias FBS.Connect {
  if ( $dll(" $+ $scriptdir $+ vcmp.dll $+ ", Connect, 1 %serverip %rconport %pass NICK) ) {
    FBS.echo 4** 2FBS $FBS.Version connecting to %servername $+ .
    $dllcall( $qt( $scriptdir $+ vcmp.dll ), vcmp.listen, Listen, 1 )
    if ($nick != %botname) /nick %botname
  }
}

In ur code, there was my nick instead NICK here ;p but when i use a vcmp.say, every text looks like NICK <text>. Is it possible to have only the text, without the nick?
Solved! The admin chat signal was different from the old DLL for bakas server. In the old, $2 was for MSG, and here $3 is for it...

And i think the disconnect signal needs also to be modifed. Cause when im shutting down the server, the IRC script still thinks that script connected to a online server :/. On the old servers dll, after shutting down the server, there was after some secs the info, but here not :(.

Could it be possible to add some new part reasons to vcmp.partreason? Cause when i crash in game, it displays "Quit", but i have a crashed, would be better "Crash" or smthing else as part reason.

Ive got today an idea ;). Could it be haxable?

The client support this form of text [Ammunation]. But it would be reaaaaaly cool, if i could enter my own text in this light black box :P.

For now thats all, i'm everyday reading the changelong on code.google.com :D.
103  Off Topic / General Chat / Re: New VC:MP Server (With Squirrel!) on: May 28, 2009, 06:56:40 pm
Great great great :D

Maybe u r able to do this stuff from VCMP 0.3z r2 also :) ? Cause this project is every day better, probably no one thought that one day VCMP will have a built in script lang ;).

Quote
Juppi is still working on the multi-server mirc dll so we still dont have a release for that. It should be soon though.
I'm crossing my fingers  ;D
104  Off Topic / General Chat / Re: New VC:MP Server (With Squirrel!) on: April 30, 2009, 05:06:10 pm
Heh, VRocker only great news today  ;D

Oh yes, we are only humans [or, arent we :> ?] so we work only so much as we can :P.

Good luck :)
105  Off Topic / General Chat / Re: New VC:MP Server (With Squirrel!) on: April 29, 2009, 04:21:16 pm
Ok no problem, if u dont find it, nothing would happen  :)

For me squirrel isn't easy, so for now i will use the old VCMP server. Maybe one day, i would have much time and the wiki would be complete, maybe then i will learn this programming language :).

I looked at the wiki now... There is a function IsAdmin. So using this function, am i able to create commands only for admin, right? And admin in vcmp is this person who logged in using /admin RCONpass. And here is i think a big minus for this. Cause some players, that aren't admins, knows the pass [like other admins tell it them]. So they have to log in using this pass and they can get control over the all server  :-\ ?

Btw. vcmp... After the official VCMP forum is broken, will u still update ur VCMP dll?
Ach and i'm waiting for a next public release od LU or VU ;p.
Pages: 1 ... 5 6 [7] 8
© Liberty Unleashed Team.