Перейти к содержимому
View in the app

A better way to browse. Learn more.

Zloplay community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Опубликовано:

So, any person with CoD scripting experience knowing (some) C# want to help me assess (and finalize) the current scripting API I'm working on?

 

Some example code:

 

raw calls:

           OnNotify("connected", player =>
           {
               Log.Write(LogLevel.Trace, "connected {0}", player);

               player.As().Notified += (type, paras) =>
               {
                   Log.Write(LogLevel.Trace, "type {0}", type);
               };

               player.As().OnNotify("spawned_player", playerEnt =>
               {
                   Log.Write(LogLevel.Trace, "spawned {0}", playerEnt);

                   playerEnt.Call("iprintlnbold", "0mgSniPeZZ by xXxNTAxXx");

                   playerEnt.Call("takeallweapons");
                   playerEnt.Call("giveweapon", "iw5_l96a1_mp_l96a1scope");

                   Log.Write(LogLevel.Trace, "endSpawned {0}", playerEnt);
               });
           });

 

neat calls which need manual definition:

           PlayerConnected += new Action(entity =>
           {
               Log.Write(LogLevel.Trace, "connected {0}", entity);

               entity.SpawnedPlayer += new Action(() =>
               {
                   Log.Write(LogLevel.Trace, "spawned {0} {1} {2} {3}", entity, entity.GetField("classname"), entity.GetField("sessionteam"), entity.GetField("origin"));

                   entity.TakeAllWeapons();
                   entity.GiveWeapon("iw5_l96a1_mp_l96a1scope");
                   entity.SwitchToWeaponImmediate("iw5_l96a1_mp_l96a1scope");
               });

               var elem = HudElem.CreateFontString(entity, "default", 1.2f);
               elem.X = 200;
               elem.Y = 20;
               elem.SetText("olol");
           });

Опубликовано:

I could try, if you let me. ^^

 

I have some scripting experience, but clearly not as much as e.g. Rendflex. I made that Drophunt mod, you saw on YouTube (sadly nobody seems to host it) and I am trying to get my first SP map port to work right now (I launches, but clearly needs some more models to block areas).

 

My coding experience is much better, however I am not too familiar with C#. I mostly code in Obj-C (main language, see iLoL Project as reference) and Java (mostly just, although quite complex minecraft modding), however I could work into the language quite fast, I guess, and made also some modifications to the IW4M code myself already and have a C# programming book lying around here somewhere.

 

So what exactly needs to be done? If I would know this, I might be able to estimate better, if my personal knowledge is enough, however I guess so, as long as no reverse engineering and memory patching is necessary.

 

If you need/want additional infos, tell me.

Drakulix

 

 

EDIT: And I am laking of some game files. I could get most of them via the dedicated server download, I guess, but everything else is missing. I do not own it, if that is a problem.

Опубликовано:
So, any person with CoD scripting experience knowing (some) C# want to help me assess (and finalize) the current scripting API I'm working on?

 

Some example code:

 

raw calls:

           OnNotify("connected", player =>
           {
               Log.Write(LogLevel.Trace, "connected {0}", player);

               player.As().Notified += (type, paras) =>
               {
                   Log.Write(LogLevel.Trace, "type {0}", type);
               };

               player.As().OnNotify("spawned_player", playerEnt =>
               {
                   Log.Write(LogLevel.Trace, "spawned {0}", playerEnt);

                   playerEnt.Call("iprintlnbold", "0mgSniPeZZ by xXxNTAxXx");

                   playerEnt.Call("takeallweapons");
                   playerEnt.Call("giveweapon", "iw5_l96a1_mp_l96a1scope");

                   Log.Write(LogLevel.Trace, "endSpawned {0}", playerEnt);
               });
           });

 

neat calls which need manual definition:

           PlayerConnected += new Action(entity =>
           {
               Log.Write(LogLevel.Trace, "connected {0}", entity);

               entity.SpawnedPlayer += new Action(() =>
               {
                   Log.Write(LogLevel.Trace, "spawned {0} {1} {2} {3}", entity, entity.GetField("classname"), entity.GetField("sessionteam"), entity.GetField("origin"));

                   entity.TakeAllWeapons();
                   entity.GiveWeapon("iw5_l96a1_mp_l96a1scope");
                   entity.SwitchToWeaponImmediate("iw5_l96a1_mp_l96a1scope");
               });

               var elem = HudElem.CreateFontString(entity, "default", 1.2f);
               elem.X = 200;
               elem.Y = 20;
               elem.SetText("olol");
           });

 

 

C# Code For IW5M?

 

Warned

Опубликовано:
  • Автор
So what exactly needs to be done? If I would know this, I might be able to estimate better, if my personal knowledge is enough, however I guess so, as long as no reverse engineering and memory patching is necessary.

Well, mainly (after I finish up the base functionality; a few small hooks are still needed) to play around with the scripting API using a pre-release I'd ship out and giving some feedback on it.

 

EDIT: And I am laking of some game files. I could get most of them via the dedicated server download, I guess, but everything else is missing. I do not own it, if that is a problem.

The 'Ready up.' topic contains some direct links to DLC content, and the game files would be sent with said pre-release.

Опубликовано:
So what exactly needs to be done? If I would know this, I might be able to estimate better, if my personal knowledge is enough, however I guess so, as long as no reverse engineering and memory patching is necessary.

Well, mainly (after I finish up the base functionality; a few small hooks are still needed) to play around with the scripting API using a pre-release I'd ship out and giving some feedback on it.

 

EDIT: And I am laking of some game files. I could get most of them via the dedicated server download, I guess, but everything else is missing. I do not own it, if that is a problem.

The 'Ready up.' topic contains some direct links to DLC content, and the game files would be sent with said pre-release.

 

Then I am ready to test. Count me in!

Опубликовано:
  • Автор
And I still can't understand why you love C# so much... I HATE clr stuff.

you got another language that's embeddable and has as good of a development environment?

 

(oh, wait, you're a java nab, ololololol)

Опубликовано:
How about x3n?

.____.

There is no dotface big enough to express the stupidity of that reply.

And I still can't understand why you love C# so much... I HATE clr stuff.

> bags out c#

> uses java

http://cdn.memegenerator.net/images/300x/2910815.jpg

Well I'ts just that java was the first programming language I learned besides GML but that doesn't count.

Опубликовано:

I can help out should you still need it. I have little to no modding experience on CoD but ive worked my way around UDK (UnrealScript) and CE3 (Lua, and it's implementation of an embedded CLR: CryMono). PM me any instructions should you choose me, i also hang out at # and #alteriwnet on rizon.

Опубликовано:
I can help out should you still need it. I have little to no modding experience on CoD but ive worked my way around UDK and CE3 (Including it's implementation of an embedded CLR, CryMono). PM me any instructions should you choose me, i also hang out at # and #alteriwnet on rizon.

You should hang out at #fourdeltaone more then on these other 2

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Гость
Ответить в тему...

Сейчас на странице 0

  • Нет пользователей, просматривающих эту страницу

Важная информация

Используя этот сайт, вы соглашаетесь Условия использования.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.