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

Topics - EK.IceFlake

#61
Well... I'm working on my panel and if I script my own file browser it'll probably take a month to release. This makes it more plausible to get a premade one. If you know of a good one which is easy to configure and supports multi user with different directories, let me know here.
#62
Description
This image will explain

(as you can see, at the end, after the quotation mark, there is no text, however, the console should have it)

Reproducible
Always

What you were doing when the bug happened
Trying to show a console in the web browser by projecting server_log.txt

What you think caused the bug
Color codes: A print function that saves directly to log without removing some stuff
Incomplete log: No idea
#63
For example, I have a hosting panel that has its servers in such a way:
./svr-uid/svr/mpsvrrel64
Can, let's say, ./finch-server/svr/mpsvrrel64, running the squirrel plugin, read ./top-secret-stormeus-server/svr/main.nut?
#64
I wanna provide a Free Host on a virtual machine I made on an OVH SP-64 dedicated server. What software should I use for the hosting panel? Preferably something that doesn't use a full-blown web server such as apache or httpd
#65
Videos & Screenshots / Awesome IG UCP
Jan 02, 2017, 12:02 PM


#66
Hint: /disconnect /reconnect
#68
Off-Topic General / How do I /get/ PuPs?
Dec 11, 2016, 08:08 AM
Well as you may have remembered, I had some trouble removing adware PuPs. However, I am now making an anti-PuPs and to make it I need some samples. I tried downloading some shit cracks that seem suspicious, and those search installers, etc. but I wasn't able to install any PuPs. Does anyone know where I can get them.

Thank you.
#69
Videos & Screenshots / Overcrowded!
Dec 04, 2016, 04:20 PM
#70
Description
When I make a sphere, the color parameter behaves very weirdly

Reproducible
Always

What you were doing when the bug happened
Trying to make a sphere
They make different colors each time the sphere is created on top of another spheres position, and when standalone, they create some weird color that is not the color you tell them to make
Also, sphere.Color shows the color that the sphere is behaving like
I make this sphere when I am in the server (so not on onscriptload)

What you think caused the bug
A single line of code f*ing things up
#71
Hello folks!
I have opened a public beta of my server (yes it is the one you were waiting for (I hope) with that live chat and notification system and things like that) that would be updated with every stable update on the development server (which is passworded)
You can connect to it using this host: 127.0.0.1:32 109.177.159.207:32
Here is some information that would help you in using the server.
Keys -
J: Toggle jetpack (VIP only)
?/: Move higher using jetpack [left handed configuration]
E: Move higher using jetpack [right handed configuration]
>.: Move lower using jetpack [left handed configuration]
Q: Move lower using jetpack [right handed configuration]

U: Accept a duel request
I: Reject a duel request
C: Cancel a duel request

;:: Slap (VIP only) [left handed configuration]
Z: Slap (VIP only) [right handed configuration]

Y: Live chat

There is a question event where if you answer the question within 7 seconds you gain VIP. It happens about every 20 minutes.

For debug purposes, you can also enable and disable the jetpack without VIP using /enjp and /dijp

If you find any bug, please inform me. (make sure it isn't listed in http://server.elitekillerz.net/threads/checklist-until-server-release.7/#post-16)

The client side scripts can be found in %appdata%\VCMP\04beta\store\109.177.159.207-32\script
All your passwords are protected with an irreversible and top-standard WHIRLPOOL hash

Enjoy :D
-Flake[/right][/left][/right][/left][/right][/left] (<< this right left shit was autogenerated and I am unfortunately unable to remove it)
#72
In C# we can
public string sNub
{
    set
    {
        //...
    }
    get
    {
        //...
        return "nub";
    }
}

so when we
sNub = something
then set will get called and a variable will be created inside it 'value' which will be the something.
in get, whatever we return is the value of that variable

Does squirrel has an equivalent?

Thank you.
#74
I'll be needing to create a lot of objects in my server (>20,000), I request you to increase it, by 10x maybe. They can't be in a map file as they will be created|deleted while the server is runinng.

Thank you.
#75
Hi :D
As part of a scripting job, I had to make a menu system for a server.
It looks|behaves similar to seby's CMS.
Here is a screenshot

To use it, you have to learn a few functions
CSMenu
This is a class that you will need to use in order to initialize an instance of a menu.
Format:
CSMenu(string sTitle)
TestMenu1 <- CSMenu("Test Menu 1");All further references to CSMenu are an instance of a created menu.
CSMenuItem CSMenu.CreateItem(string sItemName)
This will return a CSMenuItem which you can use to bind select and hover functions.
CSMenuItem CSMenuItem.Bind(function hFunction (player))
CSMenuItem CSMenuItem.BindHover(function hFunction (player))
Example:
    TestMenu1.CreateItem("TM1 Option 1").Bind(function(player)
    {
        ::MessagePlayer("You have selected TestMenu1 option 1", player);
    }).BindHover(function(player)
    {
        ::MessagePlayer("You have hovered over TestMenu1 option 1", player);
    });
The example looks familiar, doesn't it? @KAKAN :D

CSMenu.Show(player hPlayer)
This will show a menu to a player
function onPlayerCommand(player, command, parameters)
{
    TestMenu1.Show(player);
}

You can download the source including the example file here: https://mirror.cloudwards.es/FMS.7z https://elitekillerz.net/mirror/FMS.7z

Please note that you may need to adjust the client side script to integrate with yours.
This is released under the copyleft CLNS, a copy of which can be found in /store/script/License.txt
#76
General Discussion / Wiki down
Nov 10, 2016, 06:47 PM
Bring it up please
#77
This is a modular interface which means that you don't need to figure out where that part of code is, or have to make changes to global event functions, etc.
main.nut: http://pastebin.com/juKzUBxe

How to use it:
If you notice, at the top of main.nut is a line
modulelist <- [];You have to add all your modules here. For example:
modulelist <- ["default", "registration"];Now you will need to have 2 files in the 'modules' folder (you need to create a folder called 'modules' in your script root directory); default.nut and registration.nut.
Here is how a module should look like:
default.nut
class default
{
    function Init()
    {
        print("Default module loaded");
    }
    function onplayerjoin(player)
   
        ::MessagePlayer("Welcome To The Server!!!", player);
    }
}

Here is a template:
class [module name]
{
    function Init()
    {
        //Any initialization steps or simply leave this blank
    }
    //Module functions or events
}

//Functions that need to be outside the class

All modules can share events, so you can have 2 modules with function onplayerjoin and they would each get called (in the order the modules were loaded) and you wouldn't need to change a global onPlayerJoin function.

A list of all events and their parameters can be found in main.nut l35-70.

This is a very simple script however I have noticed that it makes your life easier a lot.

This script is distributed under the copyleft CLNS. Here is the copyleft:
[spoiler=CLNS]CLNS
You may use and redistribute this license, but changing it requires that the new license is compatible with this license, see section 5.

This software comes with NO WARRANTIES, read section 2.

PREAMBLE:
      This is a copyleft license--
      While most software licenses are designed to take away your freedom, this license, on the contrary, will preserve your freedom, even when redistributed.
      To preserve the freedom, any user or contributor to this software must retain the freedoms of this license.
      The freedoms provided by this license are:
            Every user is permitted to use or modify this software in any way
            Every user is permitted to override any technical limitations, including overriding activation features
            Every user is permitted to decompile or disassemble this software
            Every contributor is permitted to commercialize this software
            Every contributor is permitted to apply technical limitations to this software
            Every contributor is permitted to change this license agreement, providing the new agreement is compatible (see section 5) with this agreement
      Please read this agreement carefully

TERMS AND CONDITIONS:
1>    Definitions:
       1>   "Technical limitation" means preventing an action without legal intervention.
       2>   "User" means any person using the front-end.
       3>   "Contributor" means any person using the source code or developing directly on the binaries.
       4>   "You" means any user or contributor.
       5>   "Deriative" means any work based on this software.
       6>   "Including" implies 'but not limited to'.
       7>    All definitions are case-insensitive.
2>    No liablity:
       1>   This software is provided without any warranties, implied or otherwise.
       2>   The authors of this software are not liable for any losses or lost profits that occur by the use of this product, directly or otherwise.
3>    Application:
       1>   This license applies to any user or contributor of this software.
       2>   This license grants you explicit permission to use, modify and/or relicense (to a CLNS compatible (see section 5) license) this software.
       2>   This license may be revoked by removing all copies and traces of the software.
4>    Scope:
       1>   This license applies to the source code, its binaries and any deriatives.
       2>   Additional license terms may apply.
       3>   Additional license terms may not conflict with this license.
5>    Compatability
       1>   A compatible license must retain the legal effect of all conditions, except as stated.
       2>   A compatible license can change section 2 class 1 and the disclaimer on the fourth line thereof.
6>    Freedoms
       1>   You are permitted to modify this software, by source if available, binary or otherwise.
       2>   You are permitted to override any technical limitations in this software, including activation/commercialization features.
       3>   You are permitted to commercialize this software.
       4>   You are permitted to apply technical limitations to this software and they will not carry any legal protection.
       5>   You are permitted to change this license agreement to an agreement that is compatible with section 5.
7>    Legal measures
       1>   You are not permitted to use any legal measures, including patents or trademarks, to override this license.[/spoiler]
#78
Off-Topic General / Embedding squirrel
Nov 05, 2016, 05:49 AM
Is there a detailed guide anywhere about how to embed Squirrel into a project?
All I could find is the official documentation which unfortunately is very difficult to understand.

Thank you.
#79
I tried this, this almost works - it works that when the scrollbar is most down the memobox is most down and it looks like it works except that it skips a few lines at the top.
function GUI::ScrollbarScroll(scrollbar, position, change)
{
    if (Server.RUS != null && scrollbar == Server.RUS)
    {
        Server.RUB.DisplayPos = 1 - position;
    }
}

How do I get them to synchronize? Thanks for your help.
#80
I saw that it work in memobox or something like that, I want to it work in Label any suggestions?
By the way what that flag does is allow shits like [#33CC33]