Release MW3 Server Addon Extensions
#11
(12-10-2012, 16:48)99IRock Wrote: By me it works fine, I also gave my project files, and still not working.
If u need someinformation : I have Microsoft visual C# 2010 express, and I compiled with 3.0
My references are :
- Addon
- Microsoft.CSharp
- System
- System.core
- System.data
- System.data.datasetextensions
- System.Xml
- System.Xml.Linq

2 classes :
Extensions.cs (with the code from master131)
Class1.cs (My own code for carepackages )
Code class1.cs
Code:
using System.Collections.Generic; using System.Linq; using System.Text; using Addon; namespace Boxes { public class Class1 : CPlugin { public override void OnMapChange() { string map = GetDvar("mapname"); if (map == "mp_carbon") { Entity ent = SpawnModel("script_model", "com_plasticcase_trap_friendly", new Vector(-926f, -4535f, 4576f)); ent.CloneBrushModelToScriptModel(Extensions.FindAirdropCrateCollisionId()); } } public override void OnFastRestart() { string map = GetDvar("mapname"); if (map == "mp_carbon") { Entity ent = SpawnModel("script_model", "com_plasticcase_trap_friendly", new Vector(-926f, -4535f, 4576f)); ent.CloneBrushModelToScriptModel(Extensions.FindAirdropCrateCollisionId()); } } } }

I hope u can use this info for something

EDIT : I have also 2 warnings
Code:
Warning 2 The referenced component 'Microsoft.CSharp' could not be found.
Code:
Warning 1 Could not resolve this reference. Could not locate the assembly "Microsoft.CSharp". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. Boxes

You have thoose two warnings because you switched .net to 3.0
You can just remove Microsoft.Csharp and they will gone.
C++/Obj-Cdeveloper. Neko engine wip
Steam: Click

#12
Thinking about to make some function like:
MakeFloor(Vector from,Vector to); etc
[Image: compiling.png][Image: aLKA8og_460sa.gif]

#13
Oh never knew that, thank you Tongue
But I posted the code so they could check what they have, and maybe we can fix their problems then together Smile
[Image: b_560_95_1.png]
[Image: hax0r3ez.gif]

#14
nvm it doesn't work

#15
I know your work from your Model Extension for the "old" Addon. Could you add a feature to the ent where you can set the rotations?
[Image: compiling.png][Image: aLKA8og_460sa.gif]

#16
dang, i assume we have to use addon vers. 1.414
[Image: b_560_95_1.png]


[Image: b_560_95_1.png]


#17
(12-10-2012, 17:18)hillbilly Wrote: dang, i assume we have to use addon vers. 1.414

I used 1.414 but it doesn't work i still get that error when i try to debug it

#18
(12-10-2012, 17:27)8q4s8 Wrote:
(12-10-2012, 17:18)hillbilly Wrote: dang, i assume we have to use addon vers. 1.414

I used 1.414 but it doesn't work i still get that error when i try to debug it

tried in Framework 4.0, compiled without errors, and none of the mods worked, speed jump etc. Tried in Framework 3.0 and it still wants the reference to System.core even though it's there.

Framework 3.5 compiled no errors, and mods also loaded, upto now no idea if that will acutally spawn solids lol.

I really don't wanna use 1.414 as it keeps crashing the servers.
[Image: b_560_95_1.png]


[Image: b_560_95_1.png]


#19
Anyone have an idea why this error appears?

#20
@hillbilly , Just google system.core.dll, i found all importand dlls by this way.
C++/Obj-Cdeveloper. Neko engine wip
Steam: Click



Possibly Related Threads…
Thread Author Replies Views Last Post
  Help, server Admin largosik 0 3,183 02-02-2019, 18:09
Last Post: largosik
  Add a point shop to my server h1dexyz 1 4,383 03-04-2018, 22:36
Last Post: h1dexyz
Lightbulb Preview Weapon Classe For Infected Clasic Server groochu1982 0 3,499 02-19-2017, 08:35
Last Post: groochu1982
Exclamation Help HOW CAN I TURN OFF THE "CROSSHAIR" IN MY SERVER? Eliichong0 0 3,754 06-16-2016, 16:01
Last Post: Eliichong0
Bug Upload files to FTP server S3VDIT0 4 6,278 01-28-2016, 17:17
Last Post: S3VDIT0
Brick [Release] MW3 Server Administration Addon iRoNinja 5 10,915 11-10-2013, 15:46
Last Post: Casper
  [Release] 8Q's Server Addon Extension 8q4s8 5 7,139 07-10-2013, 15:56
Last Post: Hallla
Tongue [Release] Mw3 Server Offsets Updater! barata 28 25,454 02-13-2013, 21:19
Last Post: 99IRock
Brick [Release] Updated server addon release (solid models) estebespt 51 39,985 12-10-2012, 20:24
Last Post: JariZ
  [Release] MW3 Server Addon Cyanide 92 68,422 06-24-2012, 02:39
Last Post: JariZ

Forum Jump:


Users browsing this thread:
2 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2026 Melroy van den Berg.