Search found 542 matches

by BackRaw
Wed Jul 18, 2012 6:47 am
Forum: Plugin Development Support
Topic: Error: _LoadedAddon has no attribute 'globals'
Replies: 21
Views: 20019

Okay thanks. Gonna try it EDIT: server still shuts down, getting the following error: EDIT2: wow, you can see nothing in that picture... okay, it says [SP LOADER] Loading [.....]\plat-win\msvcr100d.dll ============================================ [SP LOADER] could not load visual studio runtime! Abo...
by BackRaw
Wed Jul 18, 2012 6:31 am
Forum: Plugin Development Support
Topic: Error: _LoadedAddon has no attribute 'globals'
Replies: 21
Views: 20019

I built it from source... maybe I'll just have to update it.

EDIT: now the server crashes on startup... lol
by BackRaw
Wed Jul 18, 2012 6:29 am
Forum: Whatever
Topic: Help appreciated :)
Replies: 16
Views: 14873

your-name-here wrote:Nice, now everyone is gonna be begging :/


Well, he said he only had 1 key...
by BackRaw
Wed Jul 18, 2012 5:26 am
Forum: Plugin Development Support
Topic: Error: _LoadedAddon has no attribute 'globals'
Replies: 21
Views: 20019

Oops oh gosh... yeah that makes sense. I just used ev for testing =) Of course I can change it ;)

Well, but why doesn't SP give me an import error instead of this error? I mean, if the file's name is decorator and not decorators... misleading traceback^^
by BackRaw
Wed Jul 18, 2012 4:54 am
Forum: Plugin Development Support
Topic: Error: _LoadedAddon has no attribute 'globals'
Replies: 21
Views: 20019

Woops! but

Syntax: Select all

from events.decorators import event

@event
def player_hurt(ev):
print(ev.GetName())

gives me the same error :/
by BackRaw
Wed Jul 18, 2012 4:13 am
Forum: Plugin Development Support
Topic: Error: _LoadedAddon has no attribute 'globals'
Replies: 21
Views: 20019

Well looking at addons/manager.py it should have "globals", I'm confused lol.
by BackRaw
Wed Jul 18, 2012 4:11 am
Forum: API Design
Topic: How about es.fire/es.give ?
Replies: 14
Views: 15465

And how does SM do it? :D
by BackRaw
Wed Jul 18, 2012 4:06 am
Forum: Plugin Development Support
Topic: Error: _LoadedAddon has no attribute 'globals'
Replies: 21
Views: 20019

Error: _LoadedAddon has no attribute 'globals'

The attachment error.jpg is no longer available


I'm getting this error everytime I wanna load my addon sp_restrict

Syntax: Select all

import sp
from decorators import event

@event
def player_hurt(ev):
print(ev.eventname)

I ain't got no clue... does every module has "globals" as attribute by default?!
by BackRaw
Wed Jul 18, 2012 12:14 am
Forum: Whatever
Topic: Help appreciated :)
Replies: 16
Views: 14873

BackRaw wrote:Cool, 20 minutes left =)


completed =)
by BackRaw
Tue Jul 17, 2012 11:55 pm
Forum: General Discussion
Topic: IRC Channel
Replies: 8
Views: 9301

Did you already set up a channel? So we just need to sign up, or what? :D
by BackRaw
Tue Jul 17, 2012 11:51 pm
Forum: Whatever
Topic: Help appreciated :)
Replies: 16
Views: 14873

Cool, 20 minutes left =)
by BackRaw
Tue Jul 17, 2012 11:42 pm
Forum: Whatever
Topic: Help appreciated :)
Replies: 16
Views: 14873

Yeah =) wanna play a bit together when it's installed?
by BackRaw
Tue Jul 17, 2012 11:39 pm
Forum: Whatever
Topic: Help appreciated :)
Replies: 16
Views: 14873

Got one from Satoon! Thank you very much =DD
by BackRaw
Tue Jul 17, 2012 11:25 pm
Forum: Whatever
Topic: Help appreciated :)
Replies: 16
Views: 14873

Tuck wrote:... i finally got my hands on a cs:go beta key ...


How and where do/did people get beta keys for the game?? I missed something haha...
by BackRaw
Tue Jul 17, 2012 10:45 pm
Forum: API Design
Topic: How about es.fire/es.give ?
Replies: 14
Views: 15465

How about es.fire/es.give ?

Hey guys, maybe this is way too early to ask, but since we talk about API design here, I'd like to ask if someone's already came up with something similar to the good ol' es.fire / es.give commands. ⋅ Decorators? ⋅ Just like Mattie implemented them to ES? ⋅ Something el...
by BackRaw
Mon Jul 16, 2012 5:39 am
Forum: API Design
Topic: Coding Style
Replies: 42
Views: 189406

Thanks :) nice to see this being taken very seriously.
by BackRaw
Mon Jul 16, 2012 1:09 am
Forum: General Discussion
Topic: Building from source (Linux) gives Python include error
Replies: 7
Views: 8337

Yeah, 100% built target, thanks guys =)
by BackRaw
Mon Jul 16, 2012 12:39 am
Forum: General Discussion
Topic: Building from source (Linux) gives Python include error
Replies: 7
Views: 8337

your-name-here wrote:I fucked up the naming of the directory structure, my bad. Fixed now.


So, should I hg update the project ?

EDIT: has no effect :/
by BackRaw
Mon Jul 16, 2012 12:08 am
Forum: General Discussion
Topic: Building from source (Linux) gives Python include error
Replies: 7
Views: 8337

Building from source (Linux) gives Python include error

Hey, I compiled source-python on Winodws correctly, I got the source-python.dll file. But on Linux, when I use make after I "cmaked" the /src directory, I get the following somewhere near the beginning: /home/srcds/plugin/source-python/src/thirdparty/boost/boost/python/detail/wrap_python.hpp:50:23: ...
by BackRaw
Sun Jul 15, 2012 11:57 pm
Forum: General Discussion
Topic: Admin System
Replies: 22
Views: 22723

I'd like to be in the dev team, or be the developer, for the admin ADDON then :)

Go to advanced search