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.


Topics - Honey.

Pages: [1]
1
Script Discussion / Can we use XML for 0.4?
« on: October 13, 2014, 03:41:51 pm »
Hi,

I wanted to ask whether we can use XML files for 0.4.If yes that please tell me the basic functions and if no then please tell me the best replace for XML.I wanted to use it for this :

Quote from: stormeus
To save the path of the bus, you'd have to run a timer every 100ms and save it in an XML file or hash table with its own ID, which is created by making a variable that starts at zero and adding 1 every time the timer runs (so you'd get BusLoc0, BusLoc1, BusLoc2, etc.).

To load the bus' path, you'd load the XML file and read it in a while loop, with a counter that starts at 0 and increases every time the loop runs. As long as the loop can find an XML node with the name BusLoc<COUNTER>, it will write each location into a table that is stored in the server's memory.

You would then create a timer that runs every 100ms, the same rate you were saving the locations at, and move a vehicle to the next position in the table until it reaches the end and resets itself to BusLoc0.

2
Script Discussion / Exporting JSON
« on: October 11, 2014, 03:43:12 pm »
Hello,

I was trying to make a LiveMap but the module doesn't load due to a 127 Code Error.I searched the SQuirrel Manual for an alternative method to export data to JSON but I only found out that we can make tables with the JSON syntax.I wanted to ask for an alternative way to export data to a JSON File. Please Reply.

3
Script Discussion / What does ".Immunity" do?
« on: October 07, 2014, 01:44:22 pm »
Hi,

Recently I saw that there is an entity of .Immunity for both Player and Vehicle.I wanted to know what it does and how do we use it?

4
Videos and Screenshots / | 0.4 | Funny Pictures
« on: October 02, 2014, 05:56:19 pm »
Free Hands Driving :



New way of vanishing the player in RC Bandit ( without setting alpha to 0 ) :





Tommy Is very busy these days  :-\ :


5
Script Discussion / Rotating Sprites
« on: October 02, 2014, 01:44:23 pm »
Hello,

I needed help in rotating sprites.I am trying to use SetRotationForPlayer( player, rotation ) but i get no errors and nothing happens.

I try to rotate it like this :

Code: [Select]
s <-CreateSprite( "spritename.png", 500, 600, 0, 0, 0,255 );
s.ShowForPlayer( FindPlayer( player ) );
s.SetRotationForPlayer(player, 150);

6
Script Discussion / Cannot Create a Symbolic Link
« on: September 27, 2014, 03:21:38 pm »
Hello,

I am facing a problem while symlimking my DataBase.db.The problem is that the file is not symlinked correctly therefore leaving my webstats page with a line "Database doesn't exist."When i create a symbolic link the file appears like this :



This is the image of the console :



The Line I am using to Create a Symlink : ln -s /root/efe/efe/Files/DataBase.db /var/www/html/stats/DataBase.db

My webstats Page : http://webhost.efe-vcmp.tk/stats/

7
Servers / [0.4] Extreme Fighting Era 2015
« on: September 27, 2014, 07:33:52 am »


Howdy Fellas,

I am proud to announce the release of EFE 2015 Beta#1 for 0.4.This server contains most of the features of the Previous EFE Version.Webstats and Livemap will be ready very soon.At the moment there are no clanstats but I will add that very soon.I am not going to provide the list of commands because I want you to go and see it yourself :).As for the custom maps there are no custom maps added yet but for testing purposes I've added a Bridge near Biker Bars.I hope to see you in my server.

Forum : http://bit.do/efe15 ( Not ready yet )
IP : 107.182.186.206:5192
Server Developer : Honey

There are no admins at the moment.You're free to apply here because the forum is not yet ready.

8
Script Discussion / Static Maps Angle
« on: September 22, 2014, 06:19:23 pm »
Hello,

I was trying to create Static Maps by adding a custom road of Vice City in my server.Everything goes well and the road is created but in a wrong direction.I want to change the Road Angle.The default angle was 1 so when i changed it to 2 the road simply disappears.This is my Objects.xml :

Code: [Select]
<?xml version="1.0" encoding="ASCII"?>
<objectlist>
<object id="0">
<flags value="0" />
<texture path="sanmonbhut1_law2.txd" />
<collision path="sanmonbhut1_law2.col" />
<model path="sanmonbhut1_law2.dff" distance="200" />
</object>
<object id="1">
<flags value="0" />
<texture path="electricgate.txd" />
<collision path="electricgate.col" />
<model path="electricgate.dff" distance="200" />
</object>
<object id="2">
<flags value="0" />
<texture path="road_downtown05.txd" />
<collision path="road_downtown05.col" />
<model path="road_downtown05.dff" distance="300" />
</object>
<object id="3">
<flags value="0" />
<texture path="road_downtown06.txd" />
<collision path="road_downtown06.col" />
<model path="road_downtown06.dff" distance="300" />
</object>
</objectlist>

and this is my custom xml file 'Road.xml' :

Code: [Select]
<?xml version="1.0" encoding="ASCII" ?>
<itemlist>
<item model="1840" name="road_downtown05">
<position x="-289.85" y="883.05" z="9.5994" />
<rotation format="axisangle" x="0" y="0" z="53.4" angle="1" />
</item>
<item model="1840" name="road_downtown06">
<position x="-388.808" y="844.454" z="11.0747" />
<rotation format="axisangle" x="0" y="0" z="2" angle="1" />
</item>
</itemlist>

I assumed that angle="" is the angle of the object so i changed it to 2 and 3 too but the result was the same.

9
Description :

When I was driving at a very high speed and hit a building my bike got inside the building

Reproducible
Sometimes, not always

What you were doing when the bug happened
I was using nitro to drive at a high speed

What you think caused the bug
IDK, Maybe a bug in collision.

10
Script Discussion / Radio Streams And Database Problem ( Once Again )
« on: September 18, 2014, 07:21:39 pm »
Hello,

I had 2 issues recently.

Issue 1 :

I tried to create custom Radios.I used  CreateRadioStream( 11, "Test", "Test.adf", 1 ); to create my Radio.Although I can tune in the radio in my car but i cannot listen anything in it.I used .adf files because VC uses them as a default so if i need to use a different extension please inform.

Issue 2 :

I was making a Prop System but faced a difficulty at buying the prop.

*Honey Bought Property[ ( Mansion ) ] ID [ 0 ].

The ID and  the Name are fine but the database is saved by the owner name as player.ID.This is my command :

Code: [Select]
else if ( cmd == "buyprop" )
{
local id = player.ID;
        if ( !player.IsSpawned ) MessagePlayer( "[#FF0000][EFE] You haven't spawned yet..", player );
else if ( !text ) MessagePlayer( "[#FF0000][EFE] Error -  /" + cmd + " <ID>", player );
else {
if ( GetRegistered( player ) == 0 ) MessagePlayer( "[#FF0000][EFE] Error - You must be a registered user to use this command", player );
            else if ( status[player.ID].LoggedIn == 0 ) MessagePlayer( "[#FF0000][EFE] Error - You must be logged in to use this command", player );
else if ( !IsNum( text ) ) MessagePlayer( "[#FF0000][EFE] Error - ID must be Numbers", player );
else {
local s = QuerySQL( g_DB, "SELECT * FROM Props" );
local q = QuerySQL( g_DB, "SELECT * FROM Props WHERE ID LIKE '" + text + "'" );
if ( player.Cash < GetSQLColumnData( q, 2 ) ) MessagePlayer( "[#FF0000][EFE] Error - You need $" + GetSQLColumnData( q, 2 ) + " to Buy this!", player );
//if ( GetSQLColumnData( s, 4 )  == "None" )
else
{
if ( s )
{
        QuerySQL( g_DB, "UPDATE Props SET Owner='" + player.Name + "' WHERE rowid LIKE = '" + text + "'" );
Message( "** " + player.Name + " Bought Property:[ " + GetSQLColumnData( s, 1 ) + " ] ID:[ " + text + " ]" );
//Announce( "~h~Property Purchased!", player, 0 );
               // DecreaseCash( player, GetSQLColumnData( q, 2 ).tointeger() );
    local data = GetSQLColumnData( s, 2 );
local cash = status[ player.ID ].Cash;
    local det = cash - data;
local add = cash - data;
    status[ player.ID ].Cash = det;
player.Cash= add;

}
else MessagePlayer( "[#FF0000][EFE] The Prop Not found in the Database!", player );
}
}
}
}


11
Script Discussion / Database Problems
« on: September 08, 2014, 07:16:24 pm »
Hello,

I was making a Register/Login System for my script but my database is not accessible by the vcmp server.I tried making Tables using my script but the database is not reached properly and when the server is ON the datbase should get locked as a default but my database doesn't get Locked.I have updated modules and Updated vcmp server client.There was a Bug in the modules where the modules cannot connect to the database but according to Stormeus it was Fixed.I do not know why I still have it.

OFF : How to know someone's FPS?

12
Resolved Bug Reports / [Resolved][BUG] Player Dies Before Spawning
« on: September 05, 2014, 06:55:01 pm »
Hello,

Recently I started to script for 0.4 but I'm having a Issue.When I load the squirrel module and then join my server my player is Dead before spawning(lol).First I wasn't sure what was causing it so I did multiple tests and the conclusion was that the squirrel module makes this happen.All of the other modules load fine.There are no errors on the console.

Screenshot :


13
General Discussion / How about making an app for Windows 8?
« on: March 04, 2014, 08:11:36 pm »
I just installed windows 8 and it was good.There were several applications on the store and i thought why don't we add an App for VC:MP?I don't think it should take much time since it is in the same OS.This suggestion is just for future plannings  since many requests are already there and 0.4 has a long way to go....

14
Servers / Extreme Fighting Era 2013
« on: November 19, 2013, 08:58:51 pm »
Logo




Server Name : Extreme Fighting Era 2014
IP :- 178.63.193.63:5193
Forum Link : http://bit.do/efe
Server's Developer : Honey
Server Hosting : Vice Hosting
Server Commands :-

         

(/c) register, login, newpassword, randspawn, nogoto, createclan, clanstats, clanrank
(!)cash, stats, deposit, withdraw, bank
(!)givecash, newpassword, level, infp, spawned, !flip, !fix, !flipnfix
(!)admins, wep, ping, goto, nogoto, hide, arm
(!)changeskin, hp, heal, skin, info, scripts
(!)spree, myspree, rules, disarm, addquote, quote
(!)cd, drunk, undrunk, randspawn, wstats, bstats
(!)time, credits, lms, join, playerslms, team, accept, deny, leave
(/c) suggest, spawnwep
(!)buycar, sellcar, sharecar, getcar
(!)gotocar, mycars, mysharecars, delsharecar
(!)eject, fix
(!)buyprop, sellprop, shareprop, myprops
(!)gotoprop, myshareprops, delshareprop

Admin Commands :-

(/c)ann, kick, kill, drown, mute, unmute, get, ip, freeze, unfreeze, getip, ban, unban
(/c)setmon, setlevel, setkills, setdeaths, kickall, freezeall, unfreezeall, killall
(/c)spawnallv, delspawnallv, drunkall, undrunkall, healall, getall, addmanager, jail, unjail, baninfo, warn, slap




So we have converted successfully to [Vice Hosting].Our new server IP is : 178.63.193.63:5193.First post edited for other commands.

Note :- /c propinfo is a little bit bugged so don't give prop ID more than 23


EFE 2013 has been heavily modified in order to release EFE 2014.This server is based on death matching.Players have the complete freedom to kill any player in any way he/she likes.Very few restrictions are there so players can enjoy in their own way.Below is a list of features that you are implemented in EFE.

* Player Passwords stored in STORM256 Encryption so that if the script is leaked nobody can access the passwords.This is very useful after a server gets popular since more and more people want to get the scripts, remove the credits and then claim it as their own.

*Advanced Suggestion System is implemented in the server.The suggestions given by our players are very valuable to us so we store tham in our database and view them once in a week.

*Spawn Wep is implemented in the server so that they can get their favourite weapons without retrieving again and again by !wep < weapon ID/ Name >.

*Random Spawn( optional ) is implemented in the server so that other players cannot kill a player again and again by hiding in their spawn places.

*Teaming System is implemented in the server so that our players can enjoy DMing by teaming with their mate.Once you team with a player you will be immediately spawned next to your teammate and once you die you will spawn next to your team mate once again.

* Last Man Standing is also implemented in the server so that players can be rewarded according to their skills

* goto/ gotoloc system is also implemented in the server so that players can avoid wasting their time from going from place to place.The same goes for 'goto < person >'.it is implemented so that if 2 players are racing or dueling and 1 person looses in the first round.He/She can immediately spawn next to his opponent by !goto < Opponent Name >.

*Warning System is implemented in the server so that players can be warned first instead of being banned permanently.if a player get's warned more than 3 times he will be Auto banned.

*Anti-Spawn Killing System is also implemented in the server.Each player is given 10 seconds after he spawns so that he can assemble himself and avoid getting killed immediately after spawning.

*A Large amount of Admin Commands have been added in the server for our special administrators.Commands like /c tempban are also added so players can be only banned for a short amount of time.

There are many more features such as Cash System, Vehicle System but these were the most spectacular ones.I hope you will join my server and enjoy.


Don't hesitate and connect to this Server

Live-Map and Online Stats are coming soon!


We are in need of admins.So apply at the forums ASAP.

NEWS : EFE 2014 Released.
         

Pages: [1]