ULX

Author Topic: eSWEP and ULX v2 Plugins  (Read 3315 times)

0 Members and 2 Guests are viewing this topic.

Offline jackmehof

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
eSWEP and ULX v2 Plugins
« on: September 14, 2006, 12:19:14 PM »
I Upgraded my server to ULX 2. I have 2 Questions, How do I get eSWEP to work with ULX 2 and Where do i put the plugins for ULX 2? Please Help Me.
« Last Edit: September 14, 2006, 12:35:54 PM by jackmehof »

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: eSWEP and ULX v2 Plugins
« Reply #1 on: September 14, 2006, 03:25:41 PM »
Re: eSWEP
 I suggest the following...in order of preference.
1) Go back to Facepunch and see if the ORIGINAL author of the code has made an compatible update
I'm about to post two work arounds, but I hate workarounds if original works have been updated or have newer releases.

2) Paintcan made a post that makes a 'compatibility layer' for two of the old ULX 1 'check access' commands, which might or might not work for eSwep ... http://forums.ulyssesmod.net/index.php/topic,345.msg1652.html#msg1652
 Paintcan and Megiddo are pretty good coding buds, so I'm pretty sure the code is valid. I've not personally tested it.

and

3) Aschmack rewrote a portion of eSwep to make it work with Ulib v1.
http://forums.ulyssesmod.net/index.php/topic,298.msg1486.html#msg1486
 Though it's awesome he wrote code to make it work, and at the time he released it was the only workaround available, as a coder I prefer to leave original code intact, so again, recommend 1 or 2 first.

Re: ULX v2 plug ins
 All currently released Ulib 2 plugins go into gmod9/lua/init. (Though, ULX v2 might be considered exception, however, it has one file that goes there)

 On a side note, I hope Megiddo makes an 'extra' folder for Ulib releases in the future, and then makes a single file check that folder.
I personally don't like clutter, and every Ublah.lua file anyone makes currently will clutter up my already messy init folder. :P
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: eSWEP and ULX v2 Plugins
« Reply #2 on: September 14, 2006, 03:57:58 PM »
The new ULib includes backwards capability JamminR ;)
Experiencing God's grace one day at a time.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: eSWEP and ULX v2 Plugins
« Reply #3 on: September 14, 2006, 05:21:27 PM »
Oh, nice.
Too bad Paintcan didn't register. You could have given him credit for including it. :P :D
So, it sounds as though
1) either jack didn't test it, and it should work,
2) he tested it, and has some Ulib configuration or other user-end fixable issue, or
3) Eswep somehow uses some other variable or code command from ULX 1 that we aren't aware of.
4) The inclusion of Paintcan's code doesn't work. :P
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: eSWEP and ULX v2 Plugins
« Reply #4 on: September 14, 2006, 05:55:50 PM »
5) He's not using ULib v1.1 :P
Experiencing God's grace one day at a time.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: eSWEP and ULX v2 Plugins
« Reply #5 on: September 14, 2006, 05:59:44 PM »
Bah, see #2 :P
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming