Menu

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 Menu

Messages - KrlozZ...

#31
Support / Re: Error with script
Apr 05, 2017, 07:30 PM
Quote from: sseebbyy on Apr 05, 2017, 07:27 PM
Quote from: KrlozZ... on Apr 05, 2017, 07:24 PMwhat about the mine ?

Can you show the lines 128 -> 150 ?

123-150

Registros <- ConnectSQL( "Databases/Registros.db" );
Deahtss <- ConnectSQL( "Databases/Deahtss.db" );
joins <- ConnectSQL( "Databases/joins.db" );
pdb <- ConnectSQL("Databases/props.sqlite");

QuerySQL( pdb, "CREATE TABLE IF NOT EXISTS Properties ( Name TEXT, PX FLOAT, PY FLOAT, PZ FLOAT, Owner VARCHAR(32), Sharer VARCHAR(32), Price NUMERIC, PropertyID INT, Salary2 NUMERIC)" );
QuerySQL(Registros,"CREATE TABLE IF NOT EXISTS Spawnwep( Nick TEXT, Weps TEXT)");
QuerySQL(Registros, "CREATE TABLE IF NOT EXISTS Cuenta ( Nombre TEXT, IP VARCHAR(25), Clave VARCHAR(25), Level NUMERIC, Dinero NUMERIC, Banco NUMERIC, Matanzas NUMERIC, Muertes NUMERIC, Nogoto TEXT )" );
QuerySQL(Registros, "CREATE TABLE IF NOT EXISTS Baneados(Name VARCHAR(32), IP TEXT, UniqueID VARCHAR(25), Admin TEXT, Reason TEXT )" );
QuerySQL(Registros, "CREATE TABLE IF NOT EXISTS SpawnLocs ( Name TEXT, Pos TEXT )" );
QuerySQL( Registros , "CREATE TABLE IF NOT EXISTS Alias ( Name TEXT, IP VARCHAR(20), UID TEXT )" );
QuerySQL(Registros, "CREATE TABLE IF NOT EXISTS Spawnwep( Nick TEXT, Weps TEXT)");
QuerySQL(Registros, "CREATE TABLE IF NOT EXISTS Locs(Name TEXT, X NUMERIC, Y NUMERIC, Z NUMERIC, Creator TEXT, Date TEXT, World NUMERIC )" );
QuerySQL(Registros, "CREATE TABLE IF NOT EXISTS AFK ( Nombre TEXT, POSAFKX NUMERIC, POSAFKY NUMERIC, POSAFKZ NUMERIC, ANGLEAFK NUMERIC )" );
QuerySQL(Registros, "CREATE TABLE IF NOT EXISTS Battle ( Nombre TEXT, BattleX NUMERIC, BattleY NUMERIC, BattleZ NUMERIC, ANGLEBattle NUMERIC )" );
QuerySQL(joins, "CREATE TABLE IF NOT EXISTS CuentaJoins ( Nombre TEXT, Joins NUMERIC )" );
QuerySQL(Deahtss, "CREATE TABLE IF NOT EXISTS CuentaDeahts ( Nombre TEXT, Deahts NUMERIC )" );

NewTimer("Autosave", 100, 0 );
NewTimer("Announces", 60000, 0 );

LoadProps();
LoadVehicles();
LoadAlias();
locslike03();

//skins
AddClass( 255, RGB( 224, 224, 224 ) ,200, Vector( -1184.17, -1332.91, 14.936 ), 140.020, 21, 999 ,23, 255, 26, 999999 );
#32
Support / Re: Error with script
Apr 05, 2017, 07:24 PM
Quote from: sseebbyy on Apr 05, 2017, 07:21 PMI just faced such an error few days ago, and the fix was really simple.
All I need are the lines around 160. If the issue is the same as mine, than you got yourself a fix.

what about the mine ?
is it the same ?

Quote from: KrlozZ... on Apr 05, 2017, 04:12 PMThe same thing happen with me ! it works on my pc but it gives error on cloudwards host.

with me its line 128:

QuerySQL( pdb, "CREATE TABLE IF NOT EXISTS Properties ( Name TEXT, PX FLOAT, PY FLOAT, PZ FLOAT, Owner VARCHAR(32), Sharer VARCHAR(32), Price NUMERIC, PropertyID INT, Salary2 NUMERIC)" );

but i have changed it to line 129, but it still gives me error on line 128, line 128 is other database like what i gave.

the error is in all QuerySQL lines.
#33
Support / Re: Error with script
Apr 05, 2017, 04:20 PM
Quote from: AdrenAline on Apr 05, 2017, 04:16 PM
Quote from: KrlozZ... on Apr 05, 2017, 04:12 PMThe same thing happen with me ! it works on my pc but it gives error on cloudwards host.

with me its line 128:

QuerySQL( pdb, "CREATE TABLE IF NOT EXISTS Properties ( Name TEXT, PX FLOAT, PY FLOAT, PZ FLOAT, Owner VARCHAR(32), Sharer VARCHAR(32), Price NUMERIC, PropertyID INT, Salary2 NUMERIC)" );

but i have changed it to line 129, but it still gives me error on line 128, line 128 is other database like what i gave.
Apparently we are not the only lol


mmm maybe, but it happened to me since i restarted the server, so that server which works is due they did not restarted their server yet.

but i guess these are new servers, because with me the .conf load correctly. :)
#34
Support / Re: Error with script
Apr 05, 2017, 04:12 PM
The same thing happen with me ! it works on my pc but it gives error on cloudwards host.

with me its line 128:

QuerySQL( pdb, "CREATE TABLE IF NOT EXISTS Properties ( Name TEXT, PX FLOAT, PY FLOAT, PZ FLOAT, Owner VARCHAR(32), Sharer VARCHAR(32), Price NUMERIC, PropertyID INT, Salary2 NUMERIC)" );

but i have changed it to line 129, but it still gives me error on line 128, line 128 is other database like what i gave.
#35
Already solved it for him in other forum ._.
#36
Bugs and Crashes / Re: Browser Is Slow
Mar 22, 2017, 01:49 AM
Quote from: Thijn on Mar 16, 2017, 07:20 AMLoads instantly for me now. So I guess this problem has been fixed.

Edit: In case people are still having problems, you can always use my mirror at http://master.thijn.ovh
You can set that through the Tools -> Settings menu.

Thank you :P this is better than the previous one not so slowy e_e and there is some Clouldwards servers :P
#37
Quote from: rww on Mar 17, 2017, 09:07 AM
QuoteHave it in a 7zip and 3 Files Banshee.txd, banshee.dff and banshee.xml

you need collision file -  banshee.col

Yes Thank you, i have watched it on the debug. n.n i will find the original one for banshee, cz its same as the original :3
#38
Hello, well i was trying to add a new custom car, its a simple banshee with a new image, usually i use XML Builder, i have loaded the banshee example, and used it without modified the xml, but when i start the server and join it says that failed to load custom content vehicles/name car etc :P

Its the car

by Moon :P

Its the XML
<?xml version="1.0" encoding="ASCII"?>
<vehicle>
<basic>
<type>car</type>
<name>Banshee</name>
<anims>null</anims>
<comprules>0</comprules>
<extraflags>0000</extraflags>
<wheelmodel>237</wheelmodel>
<wheelscale>0.700000</wheelscale>
<immunity>0</immunity>
</basic>

<aidata>
<class>executive</class>
<freq>10</freq>
<level>7</level>
</aidata>

<colors>
<carcol>1,1</carcol>
<carcol>3,3</carcol>
<carcol>36,36</carcol>
<carcol>57,57</carcol>
</colors>

<audio>
<enginefarsample>274</enginefarsample>
<enginenearsample>10</enginenearsample>
<hornsample>6</hornsample>
<hornfreq>10400</hornfreq>
<sirensample>0</sirensample>
<sirenfreq>9400</sirenfreq>
<doorsounds>1</doorsounds>
</audio>

<handling>
<mass>1400.000000</mass>
<percentsubmerged>70</percentsubmerged>
<steeringlock>34.000000</steeringlock>
<seatoffset>0.300000</seatoffset>
<damagemultiplier>0.490000</damagemultiplier>
<value>45000</value>
<flags>00008183</flags>

<dimensions>
<x>2.300000</x>
<y>4.500000</y>
<z>1.600000</z>
</dimensions>

<centreofmass>
<x>0.000000</x>
<y>0.000000</y>
<z>-0.250000</z>
</centreofmass>

<traction>
<multiplier>1.100000</multiplier>
<loss>0.840000</loss>
<bias>0.530000</bias>
</traction>

<transmission>
<numofgears>5</numofgears>
<maxspeed>200.000000</maxspeed>
<acceleration>33.000000</acceleration>
<drivetype>R</drivetype>
<enginetype>P</enginetype>
</transmission>

<brakes>
<deceleration>11.100000</deceleration>
<bias>0.520000</bias>
<abs>0</abs>
</brakes>

<suspension>
<forcelevel>1.800000</forcelevel>
<dampening>0.180000</dampening>
<upperlimit>0.250000</upperlimit>
<lowerlimit>-0.180000</lowerlimit>
<bias>0.500000</bias>
<antidive>0.300000</antidive>
</suspension>

<lights>
<front>1</front>
<rear>1</rear>
</lights>
</handling>

</vehicle>

The name of the file is v6000_t0_p2_bansh

Have it in a 7zip and 3 Files Banshee.txd, banshee.dff and banshee.xml

So whats wrong with it ? why the server fail to load it and kick me :/
#39
Oh shit, thank you so much, its thank full :D <3 i wont remove the credits dont worry :3
#41
Clans and Families / Re: [BG]Beach Guys
Feb 21, 2017, 01:53 AM
Good luck
#42
Well i made a cmd to create a car in game like /createcar model color color, but i want to save it on the script, i mean if i do that cmd, it export to the script, beacause if i restart the server it disappear, i want know how to save it on the script.
Can anyone help me :P
#43
Clans and Families / Re: VO: Vice Outlawz
Feb 09, 2017, 08:04 AM
Good Luck
#44
Quote from: The Big V on Feb 06, 2017, 06:36 PM
Quote from: KrlozZ... on Feb 05, 2017, 10:38 PMdownload it, and open the file called script
I see only a folder called scripts, and inside is the main.nut, which I cant open.

I still didnt understand where I should paste those commands. :( I really dont have any experience with scripting, so cheers if you had a good laugh at my questions ;D

Oh, and another question. On the old client there was a tab for LCMP. I cant see it on 0.4. Is it totally gone? Is there a possibility to make  LCMP work?

Xd, yea you should put it on main.nut :P

About the other question... i dont know about that :p let others respond e_e
#45
Quote from: Kewun on Feb 06, 2017, 03:33 AMdafuq? 5194?
use: 127.0.0.1:8192
or just localhost

 "open the file called script"

lol

Ah ye :v i dont use it so much, so i dont remember.