|
||
|
|||||||
| Script Support Get support for modifying RunUO Scripts, or writing your own! |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Guest
Posts: n/a
|
Well basically I installed the bounty system... Then I went to install the Sickness System *Heh they both have playermobile changes*... Well anyways I merged them and then I got this error
Error: Code:
Scripts: Compiling C# scripts...failed (2 errors, 2 warnings)
- Error: Scripts\Custom\Engines\BountySystem\PlayerMobile.cs: CS0246: (line 114
6, column 21) The type or namespace name 'BountyStatusGump' could not be found (
are you missing a using directive or an assembly reference?)
- Error: Scripts\Custom\Engines\BountySystem\PlayerMobile.cs: CS0246: (line 218
5, column 8) The type or namespace name 'BountyBoard' could not be found (are yo
u missing a using directive or an assembly reference?)
- Warning: Scripts\Custom\Engines\Tokens\Banking\Abacus.cs: CS0219: (line 159,
column 9) The variable 'valuef' is assigned but its value is never used
- Warning: Scripts\Custom\Engines\motd.cs: CS0183: (line 201, column 49) The gi
ven expression is always of the provided ('Server.Mobiles.PlayerMobile') type
Scripts: One or more scripts failed to compile or no script files were found.
- Press return to exit, or R to try again.
) So i'll just place *chunks* around the errored linesLine 1146: Code:
//bounty system
PlayerMobile player = (PlayerMobile) from;
if( player.ShowBountyUpdate )
{
m.SendGump( new BountyStatusGump( from, player.BountyUpdateList ) );
player.BountyUpdateList.Clear();
player.ShowBountyUpdate = false;
}
//end bounty system
Code:
//bounty system if( BountyBoard.Attackable( this, target ) ) return false; //end bounty system Any1 see why I don't get it?**Edit: If you need me to post any script in particular please reply asking so! Thanx! |
|
|
|
#6 (permalink) |
|
Guest
Posts: n/a
|
Code:
using System;
using System.Collections;
using Server;
using Server.Misc;
using Server.Items;
using Server.Gumps;
using Server.Multis;
using Server.Engines.Help;
using Server.ContextMenus;
using Server.Network;
using Server.Spells;
using Server.Spells.Fifth;
using Server.Spells.Seventh;
using Server.Targeting;
using Server.Engines.Quests;
namespace Server.Mobiles
{
[Flags]
public enum PlayerFlag // First 16 bits are reserved for default-distro use, start custom flags at 0x00010000
{
None = 0x00000000,
Glassblowing = 0x00000001,
Masonry = 0x00000002,
SandMining = 0x00000004,
StoneMining = 0x00000008,
ToggleMiningStone = 0x00000010,
KarmaLocked = 0x00000020,
AutoRenewInsurance = 0x00000040,
UseOwnFilter = 0x00000080,
PublicMyRunUO = 0x00000100,
PagingSquelched = 0x00000200,
////////////////////////////////////////////////////////////////////////////////////
//Start Sickness Edit///////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////
Sick = 0x00010000,
Sickness = 0x00020000,
SickContagious = 0x00040000
}
public enum SickFlag
{
None,
TempImmunity,
PermImmunity,
Cold,
Flu,
Headache,
Virus,
VampTurn
|
|
|
|
#10 (permalink) |
|
Guest
Posts: n/a
|
Yay were down to 1 error!!!
Code:
Scripts: Compiling C# scripts...failed (1 errors, 2 warnings)
- Error: Scripts\Custom\Engines\BountySystem\PlayerMobile.cs: CS0246: (line 114
7, column 5) The type or namespace name 'm' could not be found (are you missing
a using directive or an assembly reference?)
- Warning: Scripts\Custom\Engines\Tokens\Banking\Abacus.cs: CS0219: (line 159,
column 9) The variable 'valuef' is assigned but its value is never used
- Warning: Scripts\Custom\Engines\motd.cs: CS0183: (line 201, column 49) The gi
ven expression is always of the provided ('Server.Mobiles.PlayerMobile') type
Scripts: One or more scripts failed to compile or no script files were found.
- Press return to exit, or R to try again.
|
|
|
|
#14 (permalink) | |
|
Guest
Posts: n/a
|
Quote:
Please post line 114, plus you should really take care of those warnings ![]() |
|
|
|
|
#16 (permalink) | |
|
Guest
Posts: n/a
|
Quote:
Guess im just too lazy to fix em but ooh well they'll warn me till i decide to be warned ![]() **Edit: Well I got some caffeine (or however u spell it) into me now i guess ill take care of them warnings! Err my warnings disappeared... Im gettin scared now this is like quantum oddysee shit happenin here.. first my tvs turn on and everys1 asleep now this? |
|
|
|
|
#18 (permalink) | |
|
Guest
Posts: n/a
|
Quote:
but my warnins r like Cannot find such and such in oreinfo.cs, basecreature.cs etc... |
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|