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 - Advanced Bot

Pages: 1 [2] 3 4 5 6 7 ... 19
16
Off Topic / Make fun of your own forum name
« on: May 24, 2015, 10:25:19 PM »
Me first.

"You're not an advanced bot anymore aren't you ahahahaha"
"Are you sure you're a bot that is advanced??"

17
Client : Mute-To-Server
Description: A simple GUI for the client to mute someone on the server.
Use: Double click on a name in the player list.


New GUI look: (Ignore the one above)


Hints and warnings:
  • /!\ Server mute mod does not come with this.
  • [0] * Idiot proof - This will strip "/" in case people don't read the warning message.
  • * Test the mute before using this on the server, or you will look like a fool.
  • [0] Don't put spaces, use underscore "_" instead, server commands do not have spaces.
  • You can put your own messages and even change the command.
  • [0] "Forever" box basically sets it to -1, some mute mods will not have this.
  • Remember that some mute mods can only go at a certain limit, if it goes too high it might not even mute, just ban them instead.
In the next version the seconds will tell you how long they have will be muted.

Download: Client_addMute



Client : Custom Ban
Description: Customize your bans without using /ban, longer ban times, and even can guess an expiration date!
Use: Use the ban button in the admin menu like you usually would.





I tested using insane limits, this is what I got


Hints and warnings:
  • Don't go overboard with your bans, this isn't the point. Lots of mods are abusive if the host uses it in that way, so don't complain to me about this being abusive.
In the next version the total minutes will tell you how long they will be banned for.

Download: Client_addBanModifier
--V1.5--
Fixed datetime bugs to get the correct timestring.



Both of these use a function to look up the BL_ID and find the name, if the name is found, it will be in the Ban/Mute window.

18
Is there a way to know what timezone you are in?

19
Gallery / [Video] World RPG - Development
« on: May 20, 2015, 10:39:33 PM »
Once again I started remaking my RPG mode from 2012, known as Level UP RPG, renamed as World RPG because it became more powerful.


Ignore the steam message sounds, lol
Tell me what you guys think about it

By the way, the main theme is partially medieval and futuristic, in which some areas will look weird than the other. The current items that I was testing will most likely not be in the game when others test.

20
Suggestions & Requests / DTS Exporter/Importer for blender?
« on: May 07, 2015, 09:01:53 PM »
Is there a possible way someone could remake the dts import/export, and even make a dsp import/export?

21
Add-Ons / Grapple Rope 2.0 - Bug update
« on: May 05, 2015, 11:07:10 PM »
Remember the old grapple rope? Didn't it have some bugs? Well.. This one just has less of them, but more features are added.

I've remade a lot of how the grapple rope works. When you are hooked on something, if it is no longer in that spot (a brick, or if it randomly had no raycast), you would detach.

I've made some events,
Input: onGrappleHook and onGrappleUnHook - Called when the grapple becomes hooked/unhooked. The hook is not called if the brick cannot be hooked onto because it wasn't successful.
Ex: onGrappleHook > Player > kill

Output: Self > setGrappleState > bool (on/off) - If disabled (default), it will make the brick become unhookable, even if you try you will just disconnect anyways.

Something new: If you are hooked onto a bot/player/vehicle, you will follow it instead of being hooked where they were last time.

Download Tool_GrappleRope.zip
Don't understand or want to see it in action? Video

22
Modification Help / Making a bot be able to damage like a hole bot
« on: April 25, 2015, 03:01:08 PM »
Is there anyway for a bot to damage like a hole bot without packaging MiniGameCanDamage?

Code: test.cs (55 lines)
function GameConnection::createMinime(%this)
{
    if(!isObject(%this.player))
        return;
    if(!isObject(%this.miniMes))
        %this.miniMes = new SimGroup("MiniMes_" @ %this.getBLID());

    if(%this.miniMes.getCount() >= $Server::MiniMeLimit)
        %this.miniMes.getObject(0).removeBody(1);

    if(!isObject(%this.miniMes))
    {
        %this.chatMessage("There is no holder to create a minime.");
        return;
    }

    %player = %this.player;
    if(!isObject(%brick = nameToID(UselessMiniMeBrick)))
    {
        %brick = new fxDtsBrick(UselessMiniMeBrick)
        {
            datablock = brick1x1Data;
            isPlanted = false;
            itemPosition = 1;
            position = "0 0 -2000";
            client = %this;
        };
        %brickGroup = getBrickGroupFromObject(%this);
        %brickGroup.add(%brick);
    }

    %miniMe = new AiPlayer()
    {
        owner = %this;
        spawnTime = $Sim::Time;
        spawnBrick = %brick;
        dataBlock = %player.getDatablock();
        position = %player.getPosition();
        rotation = %player.rotation;
        Name = "Mini " @ %this.getPlayerName();
        hName = "Mini " @ %this.getPlayerName();
        currOwnerPlayer = %player;
    };
    missionCleanup.add(%miniMe);
    %this.miniMes.add(%miniMe);

    %this.ApplyBodyParts();
    %this.ApplyBodyColors();

    %miniMe.isMini = 1;
    %miniMe.setScale(vectorScale(%player.getScale(),0.75));
    %miniMe.onMiniCreate();
    %miniMe.spawnExplosion(SpawnProjectile,%miniMe.getScale());
    %miniMe.Mini_Tick();
}


23
Help / WrenchDlg opens when I wrench a bot
« on: April 20, 2015, 01:33:34 PM »

I have no idea why it is doing this, the host is on a regular gamemode "Freebuild" so it's not him, and I don't have any mods modifying my openWrenchDlg functions.

I'm guessing this is the game's fault.

24
Suggestions & Requests / [Engine] Possible to add "foreach"?
« on: April 19, 2015, 01:59:05 PM »
Is it possible to add foreach into the engine? It would make things easier.

25
Add-Ons / Running! Don't get caught!1!!
« on: April 17, 2015, 12:01:28 PM »
I've made events for players to be able to run.

Events:
setRunning - bool, multiplier - Forces them to be able to unable to run, useful if they cannot run.
canRun - bool - Makes it so the player can run by using the jet key. They cannot run by default.
isRunning - void (Hidden - Useful for scripts) - Checks if the player is running.

Includes a VCE variable for "running", can set the player to run as well and useful to check if they are running.

Event_Running

26
Modification Help / "Respawning in " function call?
« on: April 17, 2015, 11:24:11 AM »
When you die, it says "Respawning in blah seconds...", is there a function that calls it?

27
I've made a loop called Player::RPGPlayerLoop(%this) that implements a check to see when the player was last hit. If they were hit in the last 4 seconds, they cannot run. (This run method will soon be changed to checking their health status because "haha I have 1% of health and I can still run!" is just terrible), but anyway.

The check basically will see if they aren't moving during the running check and if their stamina level is less than 5, they can no longer move. <- In the red area is where it doesn't seem to call it.

Things I have tried:
  • Staying still while holding the run button (my jet key) and then leaving, which does not do anything
  • [0] Moving very very slow

    The speed factors are all at 1.

   if(getSimTime() - %this.lastHit > 4000)
   {
      if(%this.RPGStamina() < %this.RPGMaxStamina() && !%this.isRunning)
         %cl.RPGData["stamina"] += 0.2;
      else if(%this.isRunning)
      {
         if(vectorLen(%this.getVelocity()) > 1 && %this.RPGStamina() >= 5)
            %cl.RPGData["stamina"] --;
         else
         {
            %this.isRunning = 0;
            %this.setMaxForwardSpeed(%this.getMaxForwardSpeed() * %this.getSpeedFactor() * %this.RPG_SpeedFactor);
         }


         if(%this.RPGStamina() > 0)
            %usePrint = 1;
      }
   }


There is the running code that makes him directly run, which works perfectly fine.

This checks if the player is moving before they are even able to run, so why jog in place?
Again, the speed factors are at 1.

Packaged
Code: (server.cs) [Select]
function RPGPlayer::onTrigger(%this,%player,%slot,%val)
{
if(%slot == 4)
{
if(%val && %player.RPGStamina() >= 10 && vectorLen(%player.getVelocity()) > 1)
{
%player.setMaxForwardSpeed(%this.maxForwardSpeed * %player.getSpeedFactor() * %player.RPG_SpeedFactor * 1.75);
%player.isRunning = true;
}
else
{
%player.setMaxForwardSpeed(%this.maxForwardSpeed * %player.getSpeedFactor() * %player.RPG_SpeedFactor);
%player.isRunning = false;
}
}
return Parent::onTrigger(%this,%player,%slot,%val);
}

28
Add-Ons / Event_addItem 2.0
« on: April 04, 2015, 10:51:37 PM »
I've made some changes to the addItem event, it's known as addNewItem in the event list.

This event can be like a search, or you can use an existing object if using eval or inside a script. addItem will still exist of other mods are using it, if you have any.
Hopefully this removes some console errors and makes searching a little more efficient after the first time using a cached variable base.
I've also added a findItemByName(%name, %resetItemCache) command as well.
The event doesn't use the item list, it's a string instead. <- This is not an improvement, this is just an item finder

Improvements: Uses "findItemByName" that uses a cached database after the first use; should remove any console errors if any.

"You can add items to yourself like never before!"
Event_addItem

29
Help / CloudFlare "You are blocked!" - Issues when posting things
« on: March 31, 2015, 08:30:41 PM »
I get this when I try posting replies to topics.

30
Modification Help / GuiPlus - What's new? [Beta v0.42] (Canceled)
« on: March 26, 2015, 11:58:30 PM »
Helloooo, I'm bring back goodies
Sorry, this has been causing more issues than it should, I'm going to be done with the project.



I will try my best to not let this die.

Thanks Fluffy for this wonderful GUI. I will keep continuing this.



What is this? - Pictures - News - Bugs/Known issues - Download



What is this?
GUI+ (or GuiPlus); this is a new interface for the main menu, loading menu, join server menu, and message boxes (only works when you are not on a server (meaning at the main menu)). If you think your interface looks boring, you can use this one! See "Pictures" tab to see more info about each one.



Pictures

Here is the interface of the main menu. Clicking the area where your name will be when it welcomes you (Where "DNS failed" is), will create a popup on the top right of the screen to change your key or your name.


Loading menu! and custom playerlist interface.



Bugs/Known Issues
Before you think about complaining, here are the known bugs/issues.

--Main menu--
  _> No bugs at the moment! Yay!

--Loading menu--
> Chat hud will go behind the server menu when you click the server menu.
> "Loading spawn time:" is hidden because it is broken (see the code to see why)
> Server preview does not show yet
> Main window does not center, because the code doesn't say so.
> Chat hud will sometimes not show up, wonder why this is happening, I might just make a new chat hud for this mod

--Join-a-server menu--
> Not all pictures will show on the grid list. - This isn't an issue, it's something wrong with the server.
> Grid menu search issues, and doesn't select but instantly connects (this was default, shouldn't really count as a bug/issue).
> List menu has sort issues.



News
3/26/15 - Start
-> Released beta v0.31

3/27/15 - Beta 0.35
-+> Fixed hours on the main menu clock.
-+> Fixed double clicking on auth bar text for the drop menu.
-+> Fixed centering the main window on the loading gui.
-+> Fixed constant repositioning on the join-a-server gui.
-+> You can now right click on the auth bar and it will re-auth.

4/12/15 - Beta 0.42
-+> Fixed ping issues.
-+> 404 issues are now rare because of ping issues were resolved.
-+> List menu now gets the server list at lightning speed.
-+> Fixed clicking "refresh list" many times in a second will crash the game or create duplicates



Download
GitHub: https://github.com/Visolator/System_GuiPlus | You may pull requests to fix any script if you like.
Dropbox: System_GuiPlus

Have any questions and want an answer? (I don't quickly PM here, but if you have some quick questions)
Steam: Visolator
Skype: Visolator

Pages: 1 [2] 3 4 5 6 7 ... 19