Author Topic: uiName problems?  (Read 1457 times)

I have recently made another crap on. It's not workin. Its another edit of the quake player.

Codes:
Player_Sticky.cs
Code: [Select]
//stickyPlayer.cs

//a new player datablock that can climb any surface angle



datablock PlayerData(PlayerStickyArmour : PlayerStandardArmour)
{
    runForce = 150 * 100;
    runEnergyDrain = 1;
    minRunEnergy = 200;
    maxforwardRunSpeed = 10;
    maxBakcwardSpeed = 10;
    maxSideSpeed = 9;

    maxForwardCrouchSpeed = 5;
    maxBackwardCrouchSpeed = 4;
    maxSideCrouchSpeed = 3;

    jumpForce = 9 * 90/ 9 * 90;
    jumpEnergyDrain = 0;
    minJumpEnergy = 0;
    jumpDelay = 1;

minJetenergy = 0;
jetEnergyDrain = 0;
canJet = 0;

uiName = "Sticky Player";
showEnergyBar = true;

    runSurfaceAngle = 360;
    jumpSurfaceAngle = 360;
};

server.cs
Code: [Select]
exec("./Player_Sticky.cs");
Whats wrong with it. It's not appearing in my ui add ons menu.

I think it was PlayerStandardArmor.
And try changing the server.cs to:
Code: [Select]
exec("Add-ons/Player_Sticky/Player_Sticky.cs");to make sure it get executed.

Thanks, but it wasnt layer standard armour, Ii made an add ons with that before and works fine.

Edit: no, still not workin D: I changed the server.cs to the new one, and still wont work.
« Last Edit: December 24, 2009, 11:36:15 AM by Camooninja »


Do you get any errors in the console when trying to execute it?

And also, have you actully tried changing it to Armor? Because I just checked a playertype and it's Armor.

Other then that the script looks fine.

Oh, and do you have a description.txt?

EDIT:
Just tested it in my server, all I did was 2 edits.

I changed armour to armor, and then added a space here:

Code: [Select]
jumpForce = 9 * 90/ 9 * 90;to
Code: [Select]
jumpForce = 9 * 90 / 9 * 90;
Space inbetween the 90 and the /

Hope this helps.
« Last Edit: December 24, 2009, 12:33:47 PM by Technoscubed »

Do you get any errors in the console when trying to execute it?

And also, have you actully tried changing it to Armor? Because I just checked a playertype and it's Armor.

Other then that the script looks fine.

Oh, and do you have a description.txt?

EDIT:
Just tested it in my server, all I did was 2 edits.

I changed armour to armor, and then added a space here:

Code: [Select]
jumpForce = 9 * 90/ 9 * 90;to
Code: [Select]
jumpForce = 9 * 90 / 9 * 90;
Space inbetween the 90 and the /

Hope this helps.
Thanks, but I tested something on one of my other add ons, its more of a slide.

Post your consol.
Kay, Maybe thats why I cant even use my own brick packs.

Kay, got my console.log here.

Code: [Select]
//-------------------------- 12/24/2009 -- 13:44:41 -----
Processor Init:
   Intel Itanium 2, ~2.00 Ghz
     (timed at roughly 1.99 Ghz)
   FPU detected
   MMX detected
   SSE detected
 
Math Init:
   Installing Standard C extensions
   Installing Assembly extensions
   Installing FPU extensions
   Installing MMX extensions
   Installing SSE extensions
 
Input Init:
   DirectInput enabled.

Blockland v13
Module Directory: C:/my_games/Blockland

--------- Parsing Arguments ---------
Parsing command line arguments:
--------- Loading Common ---------
Loading compiled script base/main.cs.
Loading compiled script base/client/defaults.cs.
Loading compiled script base/server/defaults.cs.
Executing config/client/prefs.cs.
Executing config/server/prefs.cs.
--------- Loading MODS ---------


--------- Initializing Base ---------
Loading compiled script base/client/init.cs.
Loading compiled script base/server/init.cs.
Loading compiled script base/data/init.cs.
Loading compiled script base/client/canvas.cs.
Loading compiled script base/client/audio.cs.

--------- Initializing Base: Server -------------
Loading compiled script base/server/mainServer.cs.
Loading compiled script base/server/scripts/game.cs.

--------- Initializing Base: Client -------------
Loading compiled script base/client/message.cs.
Loading compiled script base/client/mission.cs.
Loading compiled script base/client/missionDownload.cs.
Loading compiled script base/client/actionMap.cs.
Video Init:
   Accelerated OpenGL display device detected.
   Voodoo 2 display device not detected.

Activating the OpenGL display device...
Activating the OpenGL display device... (NEW)
Setting screen mode to 640x480x32 (w)...
Creating a new window...
Acquiring a new device context...
Pixel format set:
  32 color bits, 24 depth bits, 8 stencil bits
Creating a new rendering context...
Making the new rendering context current...
Setting screen mode to 800x600x32@60hz (fs)...
Killing the texture manager...
Making the rendering context not current...
Deleting the rendering context...
Releasing the device context...
Destroying the window...
Changing the display settings to 800x600x32@60Hz...
Creating a new full-screen window...
Acquiring a new device context...
Pixel format set:
  32 color bits, 24 depth bits, 8 stencil bits
Creating a new rendering context...
Making the new rendering context current...
Resurrecting the texture manager...
OpenGL driver information:
  Vendor: Intel
  Renderer: Intel 845G
  Version: 1.4.0 - Build 4.14.10.3762
OpenGL Init: Enabled Extensions
  ARB_multitexture (Max Texture Units: 4)
  EXT_compiled_vertex_array
  EXT_texture_env_combine
  EXT_packed_pixels
  EXT_fog_coord
  ARB_texture_compression
  EXT_texture_compression_s3tc
  3DFX_texture_compression_FXT1
  (ARB|EXT)_texture_env_add
  EXT_texture_filter_anisotropic (Max anisotropy: 2.000000)
  GL_EXT_multi_draw_arrays
OpenGL Init: Disabled Extensions
  EXT_paletted_texture
  NV_vertex_array_range
  WGL_EXT_swap_control
  GL_ARB_vertex_buffer_object
  ARB_occlusion_query


OpenAL Driver Init:
OpenAL
   Vendor: Creative Labs Inc.
   Version: OpenAL 1.0
   Renderer: Software
   Extensions: EAX 2.0, EAX 3.0, EAX Unified, and EAX-AC3

Loading compiled script base/client/scripts/allClientScripts.cs.
Activating package: CanvasCursor
Loading compiled script base/client/ui/allClientGuis.gui.
Executing config/client/config.cs.

--------- Loading Client Add-Ons ---------
Executing base/server/crapOns_Cache.cs.

Client checking Add-On: System_ReturnToBlockland
Loading Add-On: System_ReturnToBlockland (CRC:-32502445)
Executing Add-Ons/System_ReturnToBlockland/client.cs.
Executing config/client/rtb/prefs.cs.
Executing config/server/ADD_ON_LIST.cs.
Executing Add-Ons/System_ReturnToBlockland/RTBC_Profiles.cs.
Executing Add-Ons/System_ReturnToBlockland/RTBH_Support.cs.
Activating package: RTBH_Support
Executing Add-Ons/System_ReturnToBlockland/RTBC_Authentication.cs.
Activating package: RTBC_Authentication
Executing Add-Ons/System_ReturnToBlockland/RTBC_ColorManager.cs.
Executing Add-Ons/System_ReturnToBlockland/RTB_ColorManager.gui.
Executing Add-Ons/System_ReturnToBlockland/RTBC_GUITransfer.cs.
Activating package: RTBC_GUITransfer
Executing Add-Ons/System_ReturnToBlockland/RTBC_InfoTips.cs.
Executing Add-Ons/System_ReturnToBlockland/RTBR_InfoTips_Hook.cs.
Activating package: RTBC_InfoTips
Executing Add-Ons/System_ReturnToBlockland/RTBC_IRCClient.cs.
Executing Add-Ons/System_ReturnToBlockland/RTB_IRCClient.gui.
Activating package: RTBC_IRCClient
Executing Add-Ons/System_ReturnToBlockland/RTBC_Manual.cs.
Executing Add-Ons/System_ReturnToBlockland/RTB_Manual.gui.
Executing Add-Ons/System_ReturnToBlockland/RTBC_ModManager.cs.
Executing Add-Ons/System_ReturnToBlockland/RTB_ModManager.gui.
Executing Add-Ons/System_ReturnToBlockland/RTB_ModUpdates.gui.
Activating package: RTBC_ModManager
Executing Add-Ons/System_ReturnToBlockland/RTBC_Options.cs.
Executing Add-Ons/System_ReturnToBlockland/RTB_Options.gui.
Executing Add-Ons/System_ReturnToBlockland/RTBC_ServerControl.cs.
Executing Add-Ons/System_ReturnToBlockland/RTB_ServerControl.gui.
Activating package: RTBC_ServerControl
Executing Add-Ons/System_ReturnToBlockland/RTBC_ServerInformation.cs.
Executing Add-Ons/System_ReturnToBlockland/RTB_ServerInformation.gui.
Activating package: RTBC_ServerInformation
Executing Add-Ons/System_ReturnToBlockland/RTBC_Updater.cs.
Executing Add-Ons/System_ReturnToBlockland/RTB_Updater.gui.
Executing Add-Ons/System_ReturnToBlockland/BL_AddOnsGui.gui.
Executing Add-Ons/System_ReturnToBlockland/BL_JoinServerGui.gui.
Activating package: RTB_Client

Client checking Add-On: Script_Tetris
Loading Add-On: Script_Tetris (CRC:-625117456)
Executing Add-Ons/Script_Tetris/client.cs.
Executing Add-Ons/Script_Tetris/tetrisgui.gui.
Activating package: tetris

Client checking Add-On: Script_rtbInGame
Loading Add-On: Script_rtbInGame (CRC:1736759569)
Executing Add-Ons/Script_rtbInGame/client.cs.

Client checking Add-On: Script_RainbowPlayer
Loading Add-On: Script_RainbowPlayer (CRC:-1584254515)
Executing Add-Ons/Script_RainbowPlayer/client.cs.

Client checking Add-On: Script_MacroSaver
Loading Add-On: Script_MacroSaver (CRC:-625767848)
Executing Add-Ons/Script_MacroSaver/client.cs.
Executing Add-Ons/Script_MacroSaver/macroGui.gui.
Activating package: MacroSaver

Client checking Add-On: Script_FFC
Loading Add-On: Script_FFC (CRC:1070993974)
Executing Add-Ons/Script_FFC/client.cs.
Activating package: FFCClient

Client checking Add-On: Script_Copy
Loading Add-On: Script_Copy (CRC:722715826)
Executing Add-Ons/Script_Copy/client.cs.
Executing Add-Ons/Script_Copy/CopyModGui.gui.

Client checking Add-On: Script_Compass
Loading Add-On: Script_Compass (CRC:407309529)
Executing Add-Ons/Script_Compass/client.cs.
Add-Ons/Script_Compass/client.cs (0): Unable to find function Compass_ExteriorInit
Activating package: CompassClient

Client checking Add-On: Script_Auto-Jet
Loading Add-On: Script_Auto-Jet (CRC:-1938691643)
Executing Add-Ons/Script_Auto-Jet/client.cs.

Client checking Add-On: Script_achievements
Loading Add-On: Script_achievements (CRC:-1657969961)
Executing Add-Ons/Script_achievements/client.cs.
Executing Add-Ons/Script_achievements/Profiles.cs.
Executing Add-Ons/Script_achievements/AchGUI.gui.
Executing Add-Ons/Script_achievements/AchievementsAdmin.gui.

Client checking Add-On: rainbowplayer.cs/rainbowplayer.cs/rainbowplayer.cs
    nested add-on - will not execute

Client checking Add-On: Player_ArmyManSoldier
Loading Add-On: Player_ArmyManSoldier (CRC:1634282756)
Executing Add-Ons/Player_ArmyManSoldier/client.cs.

Client checking Add-On: item_Sandwich/Gamemode_zombie
    nested add-on - will not execute

Client checking Add-On: GUI_AdminGuiEdit
Loading Add-On: GUI_AdminGuiEdit (CRC:-666218458)
Executing Add-Ons/GUI_AdminGuiEdit/client.cs.

Client checking Add-On: Gamemode_zombie
Loading Add-On: Gamemode_zombie (CRC:-668635940)
Executing Add-Ons/Gamemode_zombie/client.cs.
Executing Add-Ons/Gamemode_zombie/NewZMG.gui.
Executing Add-Ons/Gamemode_zombie/Zombieclient.cs.
Activating package: MinigameZombieGuiAddPackage

Client checking Add-On: Gamemode_zombie(2)
    Add-On folder contains ()'s, possibly a duplicate - will not execute

Client checking Add-On: Gamemode_TeamDeathmatch
Loading Add-On: Gamemode_TeamDeathmatch (CRC:-943163763)
Executing Add-Ons/Gamemode_TeamDeathmatch/client.cs.
Executing Add-Ons/Gamemode_TeamDeathmatch/MinigameGUI.cs.
Executing Add-Ons/Gamemode_TeamDeathmatch/MinigameGUI_TeamEdit.gui.
Executing Add-Ons/Gamemode_TeamDeathmatch/MinigameGUI_Teams.gui.
Executing Add-Ons/Gamemode_TeamDeathmatch/MinigameGUI_Rules.gui.
Activating package: MinigameGUIClient

Ok, you seem to not understand what they are saying. You spelled armour as armour. They want you to spell it armor. They have said it a few times. Try it when it is spelled right, like Technoscubed.

Edit: Works for me, after I fixed it.
« Last Edit: December 24, 2009, 01:57:39 PM by Pi »

:O Wow, how did I miss that. Besides, I cant figure out how to make my playertype to stick to a wall, and walk on one.

:O Wow, how did I miss that. Besides, I cant figure out how to make my playertype to stick to a wall, and walk on one.
Well, that part doesn't work...

Look at the Player_Sticky.cs
Code: [Select]
//stickyPlayer.cs

//a new player datablock that can climb any surface angle



datablock PlayerData(PlayerStickyArmor : PlayerStandardArmor)
{
    runForce = 150 * 100;
    runEnergyDrain = 1;
    minRunEnergy = 200;
    maxforwardRunSpeed = 10;
    maxBakcwardSpeed = 10;
    maxSideSpeed = 9;

    maxForwardCrouchSpeed = 5;
    maxBackwardCrouchSpeed = 4;
    maxSideCrouchSpeed = 3;

    jumpForce = 9 * 90; //9 * 90;
    jumpEnergyDrain = 0;
    minJumpEnergy = 0;
    jumpDelay = 1;

minJetenergy = 0;
jetEnergyDrain = 0;
canJet = 0;

uiName = "Sticky Player";
showEnergyBar = true;

    runSurfaceAngle = 360;
    jumpSurfaceAngle = 360;
};
It won't stop walking, and it slides.
« Last Edit: December 24, 2009, 02:03:45 PM by Pi »