Giter Site home page Giter Site logo

totenfluch / eventitemsspawner Goto Github PK

View Code? Open in Web Editor NEW
11.0 4.0 5.0 1.6 MB

Plugin for Sourcemod to spawn items for holiday events

SourcePawn 95.39% C++ 4.30% Pawn 0.31%
sourcepawn sourcemod plugin easter halloween gifts spawner eventitem itemspawner zephstore

eventitemsspawner's Introduction

eventitemsspawner's People

Contributors

blueberryy avatar kikoplg avatar originalaidn avatar totenfluch avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

eventitemsspawner's Issues

Eventitems will not spawn.

Hey Totenfluch, it's me again >_>

As in the title, I got the problem, that I can't get the plugin to actually spawn the model pumpkin anymore (I'm in preparation for Halloween on our Server and thats why I wanted to use this nice plugin again).
I did compile the plugin just fine against the latest stable build of SM 1.10 with the wellknown 6 warnings.

  • The modelpath is "models/models_kit/hallo_pumpkin_l.mdl" and set properly in plugin.gifts.cfg and eventitems.cfg
  • The spawnmode is "1", the spawnamount is "10"
  • Precache is done by sm_downloader and the paths are set correctly in downloads.ini and downloads_simple.ini
  • Spawning a pumpkin through !drop 1 (gift) works without any issue.
  • The Database works aswell and the names are set correctly in eventitems.cfg and database.cfg.

Here is a video of the issue: https://www.youtube.com/watch?v=ajZZi9lEfbI

Maybe you got an idea what I might be missing. Probably I did everything right and the problem is somewhere else?

P.S. there are no errorlogs.

Thanks in Advance

Sacricx

Sourcemod 1.10 is stable. Need to update the Eventitem Spawner (if you got time)

Since SM 1.10 is stable and in use on my servers, this plugin sadly won't work anymore. It would be pretty kind, if you gonna update this plugin since SM 1.10 is stable because you did a really really good job here and I'd love to continue using this awesome plugin on my servers.
Currently works (but can't compile) with SM 1.9

This may help for a possible update/fix:
When I try to compile the plugin with Sourcemod 1.9 or 1.10 then I get the following error:
EventItemsSpawner.sp( 8 ): fatal error 183: cannot read from file: "autoexecconfig".

best regards

Sacricx

SQL TQuery Issue - Change PRIMARY KEY to UNIQUE

Hey Totenfluch,
I got an errorlog cause of the SQL TQuery in the code in Line 224.

With Mysql:

[EventItemsSpawner.smx] All parts of a PRIMARY KEY must be NOT NULL; if you need NULL in a key, use UNIQUE instead

With Sqlite:

[EventItemsSpawner.smx] near "AUTO_INCREMENT": syntax error

I did already change PRIMARY KEY to UNIQUE in the code for myself.
The errors are gone and the tables got created.

best regards

Sacricx

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.