bodya

Участник
Сообщения
199
Реакции
9
А как вообще кредиты заработать? Убийства? У меня как было 0 так и осталось. Убиваю по 10-15 человек
 

R1KO

fuck society
Сообщения
9,457
Реакции
7,786
Последнее редактирование:

R1KO

fuck society
Сообщения
9,457
Реакции
7,786
Пользователь R1KO разместил новый ресурс:

Shop Core (Fork) - Ядро плагина магазина

Основной плагин внутриигрового магазина. Поддержка MySQL, SQLite.
Являет собою Ядро плагина - Shop Core с некоторыми исправлениями и доработками.

Посмотреть вложение 16087
Версия 2.1.0 [18.03.2016] - Добавлены нативы:
Shop_GiveClientItem
Shop_SetCanLuck...

Узнать больше об этом ресурсе...
 

kilroy

:clown:
Сообщения
1,065
Реакции
606

Rabb1t

Амбассадор
Сообщения
2,968
Реакции
1,429
А ты не фиксил тот баг, что можно передавать отрицательное кол-во кредитов?
Оффтоп
А что нужно еще?
Ничего, главное, что прекрасно работает само ядро и модули с ним.
 

Boeing 767

заскамили мамонта ни за что, ни про что
Сообщения
524
Реакции
913
Класс! Сейчас обновлю на своем сервере.
 
Последнее редактирование:

R1KO

fuck society
Сообщения
9,457
Реакции
7,786

Karmushka

Karma
Сообщения
199
Реакции
30
R1KO,
Можешь написать плагин для shop(А)
На подобии vip keys, только credits keys?
Типа пишешь в консоле shop_key ключ и тебе дается какое-то количество кредитов!
Сможешь сделать?
 

Rabb1t

Амбассадор
Сообщения
2,968
Реакции
1,429
@Крутой), берешь vip keys, изменяешь инклюд вип на шоп, и нативами пользуешься для выдачи.
Вся работа - поменять нативы, в основном.
 

kilroy

:clown:
Сообщения
1,065
Реакции
606
Хотел скомпилить под СМ 1.8.0 (v34), потому что из коробки плагин не запустился, в итоге получил кучу ошибок.
//SourceMod Batch Compiler
// by the SourceMod Dev Team


//// shop.sp
//
// shop/db.sp(528) : warning 237: coercing functions to and from primitives is u
nsupported and will be removed in the future
// shop/db.sp(545) : warning 237: coercing functions to and from primitives is u
nsupported and will be removed in the future
// shop/db.sp(571) : warning 237: coercing functions to and from primitives is u
nsupported and will be removed in the future
// shop/helpers.sp(15) : warning 234: symbol "GuessSDKVersion" is marked as depr
ecated: See GetEngineVersion()
//
//
// shop/item_manager.sp(212) : error 154: cannot assign INVALID_FUNCTION to a no
n-function type
// shop/item_manager.sp(438) : error 154: cannot assign INVALID_FUNCTION to a no
n-function type
// shop/item_manager.sp(450) : error 154: cannot assign INVALID_FUNCTION to a no
n-function type
// shop/item_manager.sp(466) : error 154: cannot assign INVALID_FUNCTION to a no
n-function type
// shop/item_manager.sp(494) : warning 237: coercing functions to and from primi
tives is unsupported and will be removed in the future
// shop/item_manager.sp(499) : error 173: 'try' is a newly reserved keyword that
may be used in the future; use a different name as an identifier
// shop/item_manager.sp(501) : error 173: 'try' is a newly reserved keyword that
may be used in the future; use a different name as an identifier
// shop/item_manager.sp(523) : error 173: 'try' is a newly reserved keyword that
may be used in the future; use a different name as an identifier
// shop/item_manager.sp(535) : warning 237: coercing functions to and from primi
tives is unsupported and will be removed in the future
// shop/item_manager.sp(1137) : error 154: cannot assign INVALID_FUNCTION to a n
on-function type
// shop/item_manager.sp(1137) : warning 237: coercing functions to and from prim
itives is unsupported and will be removed in the future
// shop/item_manager.sp(1213) : error 154: cannot assign INVALID_FUNCTION to a n
on-function type
// shop/item_manager.sp(1218) : error 154: cannot assign INVALID_FUNCTION to a n
on-function type
// shop/item_manager.sp(1230) : error 154: cannot assign INVALID_FUNCTION to a n
on-function type
// shop/item_manager.sp(1235) : error 154: cannot assign INVALID_FUNCTION to a n
on-function type
// shop/item_manager.sp(1288) : error 154: cannot assign INVALID_FUNCTION to a n
on-function type
// shop/item_manager.sp(1293) : error 154: cannot assign INVALID_FUNCTION to a n
on-function type
// shop/item_manager.sp(1324) : error 154: cannot assign INVALID_FUNCTION to a n
on-function type
// shop/item_manager.sp(1324) : warning 237: coercing functions to and from prim
itives is unsupported and will be removed in the future
// shop/item_manager.sp(1353) : error 154: cannot assign INVALID_FUNCTION to a n
on-function type
// shop/item_manager.sp(1353) : warning 237: coercing functions to and from prim
itives is unsupported and will be removed in the future
// shop/item_manager.sp(1354) : error 154: cannot assign INVALID_FUNCTION to a n
on-function type
// shop/item_manager.sp(1354) : warning 237: coercing functions to and from prim
itives is unsupported and will be removed in the future
// shop/item_manager.sp(1400) : error 154: cannot assign INVALID_FUNCTION to a n
on-function type
// shop/item_manager.sp(1400) : warning 237: coercing functions to and from prim
itives is unsupported and will be removed in the future
// shop/item_manager.sp(1481) : error 154: cannot assign INVALID_FUNCTION to a n
on-function type
// shop/item_manager.sp(1481) : warning 237: coercing functions to and from prim
itives is unsupported and will be removed in the future
// shop/item_manager.sp(1682) : error 154: cannot assign INVALID_FUNCTION to a n
on-function type
// shop/item_manager.sp(1682) : warning 237: coercing functions to and from prim
itives is unsupported and will be removed in the future
// shop/item_manager.sp(1683) : error 154: cannot assign INVALID_FUNCTION to a n
on-function type
// shop/item_manager.sp(1683) : warning 237: coercing functions to and from prim
itives is unsupported and will be removed in the future
// shop/item_manager.sp(1792) : error 154: cannot assign INVALID_FUNCTION to a n
on-function type
// shop/item_manager.sp(1792) : warning 237: coercing functions to and from prim
itives is unsupported and will be removed in the future
// shop/item_manager.sp(1857) : error 154: cannot assign INVALID_FUNCTION to a n
on-function type
// shop/item_manager.sp(1872) : error 154: cannot assign INVALID_FUNCTION to a n
on-function type
// shop/item_manager.sp(1872) : warning 237: coercing functions to and from prim
itives is unsupported and will be removed in the future
// shop/item_manager.sp(1907) : error 154: cannot assign INVALID_FUNCTION to a n
on-function type
// shop/item_manager.sp(1907) : warning 237: coercing functions to and from prim
itives is unsupported and will be removed in the future
// shop/item_manager.sp(1942) : error 154: cannot assign INVALID_FUNCTION to a n
on-function type
//
// Compilation aborted.
// 26 Errors.
//
// Compilation Time: 1,61 sec
// ----------------------------------------

Press enter to exit ...
 

R1KO

fuck society
Сообщения
9,457
Реакции
7,786
@Meowmurmur, сколько еще раз писать?
  1. Вы не скомпилите его на см 1.7 и выше без перепеписывания некоторой части кода
  2. Нахрена перекомпилировать то что уже скомпилировано за вас?
 

kilroy

:clown:
Сообщения
1,065
Реакции
606
@Meowmurmur, сколько еще раз писать?

  1. Вы не скомпилите его на см 1.7 и выше без перепеписывания некоторой части кода
    Нахрена перекомпилировать то что уже скомпилировано за вас?
Потому что не захотело ядро у меня запускаться на 1.8.0
L 12/26/2016 - 01:54:38: [SM] Unable to load plugin "shop_moneydistributor.smx": Native "Shop_GiveCredits" was not found
L 12/26/2016 - 01:54:50: [SM] Exception reported: Script execution timed out
L 12/26/2016 - 01:54:50: [SM] Blaming: shop.smx
L 12/26/2016 - 01:54:50: [SM] Call stack trace:
L 12/26/2016 - 01:54:50: [SM] [1] Line 41, shop/commands.sp::Commands_OnSettingsLoad
L 12/26/2016 - 01:54:50: [SM] [2] Line 248, shop.sp::CreateConfigs
L 12/26/2016 - 01:54:50: [SM] [3] Line 194, shop.sp::OnPluginStart
L 12/26/2016 - 01:54:50: [SM] Unable to load plugin "shop.smx": Error detected in plugin startup (see error logs)
L 12/26/2016 - 01:54:50: [SM] Unable to load plugin "shop_top10.smx": Could not find required plugin "shop"
L 12/26/2016 - 01:54:50: [SM] Unable to load plugin "shop_trails.smx": Could not find required plugin "shop"
L 12/26/2016 - 01:54:50: [SM] Unable to load plugin "shop_paintball.smx": Could not find required plugin "shop"
L 12/26/2016 - 01:54:50: [SM] Unable to load plugin "shop_equipments.smx": Could not find required plugin "shop"
L 12/26/2016 - 01:54:50: [SM] Unable to load plugin "shop_tracers.smx": Could not find required plugin "shop"
 
Сверху Снизу